Преглед изворни кода

Added --enable-threads

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans пре 24 година
родитељ
комит
a1c95d1c0e
2 измењених фајлова са 5 додато и 1 уклоњено
  1. 3 0
      chapter06/gcc-exp.xml
  2. 2 1
      chapter06/gcc-inst.xml

+ 3 - 0
chapter06/gcc-exp.xml

@@ -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>

+ 2 - 1
chapter06/gcc-inst.xml

@@ -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>