Hi - On an i686, I am trying to build a MIPS64 cross-compiler for gcc-4.0.2 using the LFS book. This is marked as experimental - Has anyone gotten through all of the steps?
I run into a problem near the end of the glibc build step during the creation of libc.so because members of libgcc are mabi=32, and the build only wants objects that are mabi=64. I can trace the problem to the compilation of libgcc objects during the build of cross-gcc-static : xgcc is not invoked with mabi=64. The same happens during the build of the crtxxx files. It appears that the CFLAGS_FOR_TARGET is not getting passed to the command line with xgcc. Should this be X_CFLAGS? Does this sound familiar? Thanks ...pete -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page