arm architecture support example

Luca Capra luca.capra at gmail.com
Thu Jan 21 16:40:57 UTC 2016


Thank you Alexander,
I will try to setup a qemu instance over armv7.. if feasibile.. and try to
build from there.

Best, Luca

2016-01-21 12:19 GMT+01:00 Alexander Sack <asac at canonical.com>:

> Hi,
>
> cross compilation of nodejs with snapcraft is tricky. If you manually
> build/assemble your stuff you can try the instructions on cross
> compiling you can find on the web, but for snapcraft the best way is
> to go for native building on your pi2...
>
> For snappy 15.04 you can get a developer ubuntu experience by using
> lxd. For snappy 16.04 you can "sudo snappy enable-classic" mode and
> then switch into a convenient ubuntu shell where you can apt-get
> install etc. with "sudo snappy shell classic"
>
> My etherpad-lite snap builds nicely that way. See
> https://github.com/asac/etherpad-lite/tree/snap-support/bin/snappy...
>
>  - Alexander
>
> On Thu, Jan 21, 2016 at 12:07 PM, Luca Capra <luca.capra at gmail.com> wrote:
> > Hello,
> >
> > I've built a service snap out of a nodejs module and would like to cross
> > compile it to armv7 for RPi2
> >
> > At this page [1] there is a sample for go but it's unclear to me what's
> the
> > point of it (compile snappy for arm?)
> >
> > Do you have a suggestion/example on how to cross compile snap for nodejs
> and
> > handle compiled dependencies (like with node-gyp)?
> >
> > Thanks, Luca
> >
> > [1] https://developer.ubuntu.com/en/snappy/guides/cross-building/
> >
> > --
> > 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160121/051b8088/attachment.html>


More information about the snappy-app-devel mailing list