Hi Manolis & Brett, Manolis Ragkousis <[email protected]> skribis:
> On 11/11/18 6:44 PM, Ludovic Courtès wrote: >> Hello Brett, >> >> Brett Gilio <[email protected]> skribis: >> >>> checking host system type... x86_64-unknown-linux-gnu >>> configure: error: this is the gnu os, host cannot be linux-gnu >>> *** Host configuration must be `MACHINE-gnu' or `MACHINE-VENDOR-gnu'. >>> *** To cross-compile, you must specify both --host and --build; >>> *** for example `--build=x86_64-unknown-linux-gnu --host=x86_64-gnu'. >>> *** Run ./configure --help for more information. >> >> To put it differently, the Hurd cannot be built natively on GNU/Linux. >> You can cross-build the Hurd from GNU/Linux with something like: >> >> guix build hurd --target=i586-pc-gnu >> >> … though I seem to remember even that is broken in current master. > > > Yes, I am currently trying to fix this. I’ve taken care of that on ‘core-updates’, which will hopefully be merged within a week or so: https://git.savannah.gnu.org/cgit/guix.git/commit/?h=core-updates&id=2d546858b139e5fcf2cbdf9958a17fd98803ac4c On that branch, you can run, say: guix build sed --target=i586-pc-gnu and you get a GNU/Hurd binary. \o/ Ludo’.
