Andreas Enge <[email protected]> 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. Ludo’.
