lfs/chapter06/gcc-exp.xml
Mark Hymers e19ab3bcce threaded explanation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-08-17 13:58:10 +00:00

28 lines
1.0 KiB
XML

<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i ../gcc-&gcc-version;.patch:</userinput>
This new patch deals with incorrect handling of weak symbols, the
over-optimization of calls to those weak symbols, an atexit issue and
the __dso_handle symbol required for atexit's proper function.</para>
<para><userinput>--enable-languages=c,c++:</userinput> This only builds the C
and C++ compilers and not the other available compilers as they are, on
the average, not often used. If those other compilers are needed,
the --enable-languages parameter can be omitted.</para>
<para><userinput>--enable-threads:</userinput> C++ exception handling for
multithreaded code will not work if gcc is compiled without
--enable-threads.</para>
<para><userinput>ln -s ../usr/bin/cpp:</userinput> This
creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
cpp in /lib.</para>
<para><userinput>ln -s ../bin/cpp:</userinput> This
creates the $LFS/usr/lib/cpp symlink as there are packages that expect
cpp to be in /usr/lib.</para>
</sect2>