Procházet zdrojové kódy

Added --enable-threads

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans před 24 roky
rodič
revize
a1c95d1c0e
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  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 --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
 creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
 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>cd ../gcc-build &amp;&amp;</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 install</userinput></screen></para>