I follow the development 2.x version to do my CLFS on mips64el. This bug maybe also appear in the stable 2.1 version (even in others port).
In chapter 5.16. Cross GCC-4.8.2 - Static The configure option code: AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ ../gcc-4.8.2/configure --prefix=/cross-tools \ --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ --with-sysroot=${CLFS} --with-local-prefix=/tools \ --with-native-system-header-dir=/tools/include --disable-nls \ --enable-shared --disable-static --enable-languages=c,c++ \ --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \ --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \ --with-gmp=/cross-tools --with-cloog=/cross-tools --enable-cloog-backend=isl \ --with-isl=/cross-tools --disable-isl-version-check --with-system-zlib \ --enable-checking=release --enable-libstdcxx-time --with-abi=64 Should place into the chapter "5.18. Cross GCC-4.8.2 - Final", and vice versa. If follow the wrong configure, the build of gcc will not create newlib but try to use the header of eglibc, results error like this: Some/path/i/forgot/tsystem.h: fatal error: stdio.h no such file or directory.
_______________________________________________ Clfs-support mailing list Clfs-support@lists.cross-lfs.org http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org