From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Cross-building GuixSD (and maybe using pre-built toolchains) Date: Thu, 01 Sep 2016 13:16:39 +0200 Message-ID: <87lgzbswdk.fsf@gnu.org> References: <87d1kon1lf.fsf@gnu.org> <87k2ewuj9e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfPzE-0004Tn-2f for help-guix@gnu.org; Thu, 01 Sep 2016 07:16:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfPz9-0008Kb-QX for help-guix@gnu.org; Thu, 01 Sep 2016 07:16:46 -0400 In-Reply-To: (David Craven's message of "Thu, 1 Sep 2016 12:11:20 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: David Craven Cc: help-guix@gnu.org David Craven skribis: >> Now, in most cases, the tiny Guile derivations created via >> =E2=80=98gexp->derivation=E2=80=99 et al. in GuixSD (e.g., the derivatio= n that builds >> the initrd) could use, say, an x86_64 Guile, even if building for >> mips64el. However, it would be difficult to take advantage of this >> AFAICS. > > So maybe I am taking the wrong approach. If an hypothetical --target > flag would exist, could it use natively built substitutes? It could use substitutes for cross-compiled things, just like =E2=80=9Cguix build coreutils --target=3Dmips64el-linux-gnu=E2=80=9D can use substitutes. Ludo=E2=80=99.