Andreas Enge <andr...@enge.fr> skribis: > Am Dienstag, 19. Februar 2013 schrieb Andreas Enge: >> I think it might be enough to add the following configure flags: >> --with-arch=mips64 -with-abi=64 > > Unfortunately, it failed after some compilation time with
[...] > checking how to run the C preprocessor... /lib/cpp > configure: error: in `/tmp/nix-build-gcc-cross- > boot0-4.7.2.drv-0/build/mips64el-guix-linux-gnu/libgcc': > configure: error: C preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details. Can you try to get the config.log file? It tries /lib/cpp as a last resort because “xgcc -E” didn’t work, so we need to find out why it didn’t work. How exactly did you modify gcc-boot0? > Strangely, a new run of "guix-build hello" starts by building linux-libre- > headers instead of gcc-cross-boot0. Since linux-libre-headers doesn’t depend on gcc-cross-boot0, that’s a valid choice. Ludo’.