diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-12 01:11:43 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-05-12 01:11:43 +0000 |
commit | 32a531e9c9c4bb9302d73d3ef4827f50b5edffa1 (patch) | |
tree | e261a38d09f69e80bccba97168786816a3c49291 /chapter05/gcc-pass2.xml | |
parent | 1f73d38dc1371660a85f6c8e6b67a6c475083e2a (diff) |
Don't build the libstdc++ in Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3549 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r-- | chapter05/gcc-pass2.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 42e0e89b9..6083c2fad 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -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> |