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 | |
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
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter05/gcc-pass2.xml | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3b46cf96a..7c58bf896 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> 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> |