%general-entities; %patches-entities; ]> GCC-&gcc-version; GCC temporary system <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 GCC ../gcc-&gcc-version;/configure --prefix=/tools \ --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ --libexecdir=/tools/lib --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 Compile the package: make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld" Install the package: make install ln -s gcc /tools/bin/cc <para>Details on this package are located in <xref linkend="contents-gcc" role="."/></para> </sect2> </sect1>