From 32a531e9c9c4bb9302d73d3ef4827f50b5edffa1 Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Wed, 12 May 2004 01:11:43 +0000 Subject: Don't build the libstdc++ in Chapter 5 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3549 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 3 +++ chapter05/gcc-pass2.xml | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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. +May 11th, 2004 [winkie]: Don't build the PCH header for +libstdc++ in Chapter 5 -- it's just a waste of space. + May 11th, 2004 [winkie]: Upgraded to Glibc 2.3.4-20040510 and Tar 1.14. 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. ../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++ + --enable-__cxa_atexit --enable-languages=c,c++ \ + --disable-libstdcxx-pch The meaning of the new configure options: @@ -110,6 +111,10 @@ distributions. --enable-languages=c,c++: This option ensures that both the C and C++ compilers are built. + +--disable-libstdcxx-pch: Don't build the +PCH (pre-compiled header) for libstdc++. It takes up a ton of space, and we +have no use for it. Compile the package: -- cgit v1.2.3-54-g00ecf