From f1dd5475c93b2464957212d8e81b94d5b5af9630 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 27 Jan 2016 21:49:38 +0000 Subject: Move external build directories into dedicated build directories inside the source tree for binutils, gcc, and glibc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'chapter06/gcc.xml') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index afae54041..1be390ab4 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -45,21 +45,19 @@ patch -Np1 -i ../&gcc-upstream-patch; --> - The GCC documentation recommends building GCC outside of the source - directory in a dedicated build directory: + The GCC documentation recommends building GCC in a dedicated build directory: -mkdir -v ../gcc-build -cd ../gcc-build +mkdir -v build +cd build Prepare GCC for compilation: -SED=sed \ -../gcc-&gcc-version;/configure \ - --prefix=/usr \ - --enable-languages=c,c++ \ - --disable-multilib \ - --disable-bootstrap \ - --with-system-zlib +SED=sed \ +../configure --prefix=/usr \ + --enable-languages=c,c++ \ + --disable-multilib \ + --disable-bootstrap \ + --with-system-zlib Note that for other languages, there are some prerequisites that are not yet available. See the @@ -106,7 +104,7 @@ cd ../gcc-build To receive a summary of the test suite results, run: -../gcc-&gcc-version;/contrib/test_summary +../contrib/test_summary For only the summaries, pipe the output through grep -A7 Summ. -- cgit v1.2.3-54-g00ecf