mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Added --enable-threads
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@987 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
f12213ad91
commit
a1c95d1c0e
@ -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>
|
||||
|
@ -15,7 +15,8 @@ who actively work on LFS.</para>
|
||||
<userinput>mkdir ../gcc-build &&</userinput>
|
||||
<userinput>cd ../gcc-build &&</userinput>
|
||||
<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
|
||||
<userinput> --enable-shared -enable-languages=c,c++ &&</userinput>
|
||||
<userinput> --enable-shared -enable-languages=c,c++ \</userinput>
|
||||
<userinput> --enable-threads &&</userinput>
|
||||
<userinput>make bootstrap &&</userinput>
|
||||
<userinput>make install</userinput></screen></para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user