Building native apps
Alexander Sack
asac at canonical.com
Tue Feb 10 17:22:56 UTC 2015
On Tue, Feb 10, 2015 at 5:53 PM, Gábor Paller <gaborpaller at gmail.com> wrote:
> I have some success. :-)
> http://mylifewithandroid.blogspot.com/2015/02/bled112-on-beaglebone.html
>
> BTW, is there a way for a snap to package a shared object that gets onto the
> LD_LIBRARY_PATH? So far I had success only with executables.
Nothing built in (yet), but the way to go is to make binaries and
services launch through wrapper where you can set your LD path and
other stuff relativ to the SNAP_ envs you have available there...
Check out hello-world.env to see what SNAP_ envs are available for you
in such a launcher.
>
> Regards,
> Gabor
>
> On Tue, Feb 10, 2015 at 2:57 PM, Alexander Sack <asac at canonical.com> wrote:
>>
>> On Thu, Feb 5, 2015 at 5:58 PM, Gábor Paller <gaborpaller at gmail.com>
>> wrote:
>> > Hi,
>> >
>> > I have a very basic question: how to compile native apps for Snappy? I
>> > went
>> > through the snappy-examples but none of them had any native element.
>> > Where
>> > are the include files and libs that one could link against?
>>
>> Documentation and tools to make this neat are pending.
>>
>> For now I recommend you could start with a vivid chroot where you can
>> apt-get install all the dev headers you would want. All you need to do
>> in the end is to ensure you copy everything that you used from the
>> system that isn't part of libc into your snap and set the
>> LD_LIBRARY_PATH accordingly by using a wrapper script.
>>
>> >
>> > Regards,
>> > Gabor
>> >
>> > --
>> > snappy-app-devel mailing list
>> > snappy-app-devel at lists.ubuntu.com
>> > Modify settings or unsubscribe at:
>> > https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
>> >
>
>
More information about the snappy-app-devel
mailing list