mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Don't build the libstdc++ in Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3549 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
1f73d38dc1
commit
32a531e9c9
@ -94,6 +94,9 @@ first a summary, then a detailed log.</para>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>May 11th, 2004 [winkie]: Don't build the PCH header for
|
||||
libstdc++ in Chapter 5 -- it's just a waste of space.</para></listitem>
|
||||
|
||||
<listitem><para>May 11th, 2004 [winkie]: Upgraded to Glibc 2.3.4-20040510 and
|
||||
Tar 1.14.</para></listitem>
|
||||
|
||||
|
@ -85,7 +85,8 @@ variables that override the default optimization flags.</para>
|
||||
<screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
|
||||
--libexecdir=/tools/lib --with-local-prefix=/tools \
|
||||
--enable-clocale=gnu --enable-shared --enable-threads=posix \
|
||||
--enable-__cxa_atexit --enable-languages=c,c++</userinput></screen>
|
||||
--enable-__cxa_atexit --enable-languages=c,c++ \
|
||||
--disable-libstdcxx-pch</userinput></screen>
|
||||
|
||||
<para>The meaning of the new configure options:</para>
|
||||
|
||||
@ -110,6 +111,10 @@ distributions.</para></listitem>
|
||||
|
||||
<listitem><para><userinput>--enable-languages=c,c++</userinput>: This option
|
||||
ensures that both the C and C++ compilers are built.</para></listitem>
|
||||
|
||||
<listitem><para><userinput>--disable-libstdcxx-pch</userinput>: Don't build the
|
||||
PCH (pre-compiled header) for libstdc++. It takes up a ton of space, and we
|
||||
have no use for it.</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user