From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7qWQ-0002kU-1Z for guix-patches@gnu.org; Thu, 26 Oct 2017 18:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7qWM-00014G-Sa for guix-patches@gnu.org; Thu, 26 Oct 2017 18:21:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7qWM-000145-OM for guix-patches@gnu.org; Thu, 26 Oct 2017 18:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e7qWM-0000jz-H4 for guix-patches@gnu.org; Thu, 26 Oct 2017 18:21:02 -0400 Subject: [bug#26339] closing bootloader serie. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170402134916.2871-1-m.othacehe@gmail.com> <87d15rdtsb.fsf@gmail.com> <87d15rm5dl.fsf@gnu.org> <87zi8e1by3.fsf@gmail.com> <87she5hlwi.fsf@gnu.org> <87d159yftb.fsf@gmail.com> Date: Thu, 26 Oct 2017 15:20:30 -0700 In-Reply-To: <87d159yftb.fsf@gmail.com> (Mathieu Othacehe's message of "Thu, 26 Oct 2017 19:33:36 +0200") Message-ID: <871slpft5d.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Mathieu Othacehe Cc: 26339@debbugs.gnu.org Mathieu Othacehe skribis: >> That said, I experimented with cross-compiled GuixSD (that is, =E2=80=98= guix >> system build --target=3Dfoo-linux-gnu=E2=80=99), and I think that=E2=80= =99s promising, >> with the caveat that you have to restrict your package set to those that >> can actually be cross-compiled. Should we try to get it off the ground? > > That would be really interesting. But to build an arm GuixSD installer > for example, it would require that are all the packages needed to set-up > the rootfs of the installer are cross-compilable, right ? Yes. So in my experiments I had =E2=80=98services=E2=80=99 and =E2=80=98pa= ckages=E2=80=99 almost empty, to be sure. > What's the difference between --system=3Darmhf-linux and > --target=3Darm-linux-gnueabihf ? =E2=80=98--target=E2=80=99 specifies a cross-compilation triplet, where =E2= =80=98--system=E2=80=99 specifies the system you want to build on. Without offloading, your x86_64 machine can only build for =E2=80=98x86_64-linux=E2=80=99 or =E2=80= =98i686-linux=E2=80=99. Conversely cross-compilation does not depend on offloading, it=E2=80=99s ju= st regular cross-compilation. Does that make sense? Ludo=E2=80=99.