Added --enable-threads

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-08-17 02:18:00 +00:00
parent f12213ad91
commit a1c95d1c0e
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,9 @@ 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 average, not often used. If those other compilers are needed,
the --enable-languages parameter can be omitted.</para> the --enable-languages parameter can be omitted.</para>
<para><userinput>--enable-threads:</userinput> This makes gcc thread
enabled.</para>
<para><userinput>ln -s ../usr/bin/cpp:</userinput> This <para><userinput>ln -s ../usr/bin/cpp:</userinput> This
creates the $LFS/lib/cpp symlink. Some packages explicitly try to find creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
cpp in /lib.</para> cpp in /lib.</para>

View File

@ -15,7 +15,8 @@ who actively work on LFS.</para>
<userinput>mkdir ../gcc-build &amp;&amp;</userinput> <userinput>mkdir ../gcc-build &amp;&amp;</userinput>
<userinput>cd ../gcc-build &amp;&amp;</userinput> <userinput>cd ../gcc-build &amp;&amp;</userinput>
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput> <userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--enable-shared -enable-languages=c,c++ &amp;&amp;</userinput> <userinput>&nbsp;&nbsp;&nbsp;--enable-shared -enable-languages=c,c++ \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--enable-threads &amp;&amp;</userinput>
<userinput>make bootstrap &amp;&amp;</userinput> <userinput>make bootstrap &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para> <userinput>make install</userinput></screen></para>