[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initial cross-compilation support

From: Ludovic Courtès
Subject: Re: Initial cross-compilation support
Date: Sun, 03 Mar 2013 22:32:40 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> I think one needs to add the configure parameters "--with-arch=mips64 --
> with-abi=64" to the cross build of gcc; and maybe "-march=mip64 -mabi=64" 
> to the binutils and glibc. Ludovic should know best where to do it in the 
> code.

I would add a keyword parameter to ‘cross-gcc’ to allow extra configure
flags to be passed, or perhaps just an abstract #:abi flag.

> And then, if one wishes to extract bootstrap binaries for arbitrary
> target architectures (which are still needed, I suppose?), I assume
> one would have to modify bootstrap.scm to use the cross gcc instead of
> the native one.

Rather, you’d run ‘guix build --target=mips64-linux-gnu bootstrap-tarballs’
from an x86 machine.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]