%general-entities; ]> Cross GCC-&gcc-version; - Static GCC cross tools, static Installation of Cross GCC Compiler with Static libgcc and no Threads AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \ ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \ --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \ --disable-multilib --with-sysroot=${CLFS} --disable-nls \ --without-headers --with-newlib --disable-decimal-float \ --disable-libgomp --disable-libmudflap --disable-libssp \ --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \ --with-ppl=${CLFS}/cross-tools --with-cloog=${CLFS}/cross-tools \ --disable-shared --disable-threads --enable-languages=c The meaning of the configure options: --disable-shared Disables the creation of the shared libraries. --disable-threads This will prevent GCC from looking for the multi-thread include files, since they haven't been created for this architecture yet. GCC will be able to find the multi-thread information after the EGLIBC headers are created. --enable-languages=c This option ensures that only the C compiler is built. Continue with compiling the package: make all-gcc all-target-libgcc Install the package: make install-gcc install-target-libgcc <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para> </sect2> </sect1>