%general-entities; ]> GCC-&gcc-version; GCC temporary system Installation of GCC When searching for the multilibs, force the build to use the results of from our cross-compiler, not the native compiler gcc builds now. cp gcc/Makefile.in{,.orig2} sed -e "/MULTILIBS/s@\$(GCC_FOR_TARGET)@/cross-tools/bin/${CC}@g" \ gcc/Makefile.in.orig2 > gcc/Makefile.in CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \ --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ --libexecdir=/tools/lib64 --with-local-prefix=/tools --enable-long-long \ --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch The meaning of the new configure options: CXX="${CXX} ${BUILD64}" This forces the C++ compiler to use our Build 64 FLAGS. --libexecdir=/tools/lib64 This puts all files that are installed using the libexecdir variable into /tools/lib64. <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para> </sect2> </sect1>