%general-entities; %patches-entities; ]> Cross GCC-&gcc-version; - Static GCC cross tools, static <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gcc.xml" xpointer="xpointer(//*[@role='package']/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>Not checked yet</seg> <seg>Not checked yet</seg> </seglistitem> </segmentedlist> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gcc.xml" xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/> </sect2> <sect2 role="installation"> <title>Installation of Cross GCC Compiler with Static libgcc and no Threads echo " #undef STARTFILE_PREFIX_SPEC #define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/rs6000/linux.h cp gcc/Makefile.in{,.orig} sed "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \ gcc/Makefile.in.orig > gcc/Makefile.in ../gcc-&gcc-version;/configure --prefix=/cross-tools \ --host=${LFS_HOST} --target=${LFS_TARGET} \ --with-local-prefix=/tools --disable-nls --disable-shared \ --disable-threads --enable-languages=c Continue with compiling the package: make all-gcc Install the package: make install-gcc <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para> </sect2> </sect1>