Re: Guix system cross-compile

2019-03-23 Thread Ludovic Courtès
Hi Mathieu, Sorry for not replying earlier… Mathieu Othacehe skribis: > I'm digging up the --target option topic for guix system. I'd like to be > able at first to produce a cross-compiled disk-image as discussed here: > > https://lists.gnu.org/archive/html/guix-devel/2017-10/msg00242.html > >

Re: Guix system cross-compile

2019-03-09 Thread Alex Vong
Thanks everyone for the help! So it seems for armhf, I should be using "--target" unless I am trying to get the bootstrap seeds. Mathieu Othacehe writes: > Hi Alex, > > This subject is explained in "Package Transformation Options" section of > the documentation. In short: > > --system means try

Re: Guix system cross-compile

2019-03-07 Thread Hartmut Goebel
Am 07.03.19 um 15:44 schrieb Mathieu Othacehe: > --system means try to build natively for the specified architecture. It > is possible on the arch that support multiple personalities (i686 and > x86 for instance), or using QEMU binfmt_misc mechanism. The argument > is an arch name like "x86_6

Re: Guix system cross-compile

2019-03-07 Thread Mathieu Othacehe
Hi Alex, This subject is explained in "Package Transformation Options" section of the documentation. In short: --system means try to build natively for the specified architecture. It is possible on the arch that support multiple personalities (i686 and x86 for instance), or using QEMU binfm

Re: Guix system cross-compile

2019-03-07 Thread Ricardo Wurmus
Alex Vong writes: > As a related question, I'm curious what's the difference between > "guix build --target ..." vs "guix build --system ..."? “--target” is for cross-compilation. “--system” is for using a different persona (e.g. i686 on an x86_64 system). > Is it possible that one command r

Re: Guix system cross-compile

2019-03-07 Thread Alex Vong
Hello everyone, As a related question, I'm curious what's the difference between "guix build --target ..." vs "guix build --system ..."? Is it possible that one command results in build failure but the other command doesn't? Cheers, Alex Mathieu Othacehe writes: > Hello, > > I'm digging up the

Guix system cross-compile

2019-03-06 Thread Mathieu Othacehe
Hello, I'm digging up the --target option topic for guix system. I'd like to be able at first to produce a cross-compiled disk-image as discussed here: https://lists.gnu.org/archive/html/guix-devel/2017-10/msg00242.html Besides packages for whom cross-compilation is broken, I'm hitting a proble