From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target Date: Thu, 23 Nov 2017 12:13:50 +0100 Message-ID: <87po89w8lt.fsf@gnu.org> References: <877euixncl.fsf@gmail.com> 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]:54973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHpSJ-0005Kp-6R for bug-guix@gnu.org; Thu, 23 Nov 2017 06:14:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHpSF-0005aj-3C for bug-guix@gnu.org; Thu, 23 Nov 2017 06:14:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44733) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHpSE-0005aY-Vj for bug-guix@gnu.org; Thu, 23 Nov 2017 06:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eHpSE-0006Iw-Ix for bug-guix@gnu.org; Thu, 23 Nov 2017 06:14:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877euixncl.fsf@gmail.com> (Chris Marusich's message of "Wed, 22 Nov 2017 08:57:46 -0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Chris Marusich Cc: 29402@debbugs.gnu.org Hi Chris, Chris Marusich skribis: > I'm trying to build it using the following command, invoked from the > Guix source tree: > > ./pre-inst-env guix build --no-substitutes --target=3Darmhf-linux hello [...] > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type... Invalid configuration `armhf-linux': machi= ne `armhf' not recognized The argument to --target must be a GNU triplet, not a Guix =E2=80=9Csystem type.=E2=80=9D GNU triplets have the form CPU-VENDOR-OS, which often looks like CPU-KERNEL-OSABI. In this case, you want --target=3Darm-linux-gnueabihf HTH! Ludo=E2=80=99.