Subject: bug#29402: Failure to cross-compile GNU Hello for armhf-linux target

From: [email-masked] (Ludovic Courtès)
Date: Thu, 23 Nov 2017 12:13:50 +0100

Hi Chris,

Chris Marusich <[email-masked]> 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=armhf-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': machine `armhf' not recognized

The argument to --target must be a GNU triplet, not a Guix “system
type.”

GNU triplets have the form CPU-VENDOR-OS, which often looks like
CPU-KERNEL-OSABI.  In this case, you want

  --target=arm-linux-gnueabihf

HTH!
Ludo’.