From 6458e3172ec9d054efcd178c67f269804eacdb7d Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Fri, 29 Mar 2013 19:50:55 +0000 Subject: Fix the alignment of some command continuation constructs. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10233 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/binutils-pass1.xml | 2 +- chapter05/binutils-pass2.xml | 12 ++++++------ chapter05/gcc-pass1.xml | 44 ++++++++++++++++++++++---------------------- chapter05/gcc-pass2.xml | 35 ++++++++++++++++++----------------- chapter05/glibc.xml | 14 +++++++------- chapter06/adjusting.xml | 4 ++-- chapter06/glibc.xml | 2 +- 7 files changed, 57 insertions(+), 56 deletions(-) diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index e30f3962e..b07971f5c 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -78,7 +78,7 @@ cd ../binutils-build Now prepare Binutils for compilation: -../binutils-&binutils-version;/configure \ +../binutils-&binutils-version;/configure \ --prefix=/tools \ --with-sysroot=$LFS \ --with-lib-path=/tools/lib \ diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index 7c99eac5f..d2e2b5306 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -56,12 +56,12 @@ cd ../binutils-build Prepare Binutils for compilation: -CC=$LFS_TGT-gcc \ -AR=$LFS_TGT-ar \ -RANLIB=$LFS_TGT-ranlib \ -../binutils-&binutils-version;/configure \ - --prefix=/tools \ - --disable-nls \ +CC=$LFS_TGT-gcc \ +AR=$LFS_TGT-ar \ +RANLIB=$LFS_TGT-ranlib \ +../binutils-&binutils-version;/configure \ + --prefix=/tools \ + --disable-nls \ --with-lib-path=/tools/lib \ --with-sysroot diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index cd7c4e0ba..23c7fe7e8 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -113,28 +113,28 @@ cd ../gcc-build Prepare GCC for compilation: -../gcc-&gcc-version;/configure \ - --target=$LFS_TGT \ - --prefix=/tools \ - --with-sysroot=$LFS \ - --with-newlib \ - --without-headers \ - --with-local-prefix=/tools \ - --with-native-system-header-dir=/tools/include \ - --disable-nls \ - --disable-shared \ - --disable-multilib \ - --disable-decimal-float \ - --disable-threads \ - --disable-libatomic \ - --disable-libgomp \ - --disable-libitm \ - --disable-libmudflap \ - --disable-libquadmath \ - --disable-libsanitizer \ - --disable-libssp \ - --disable-libstdc++-v3 \ - --enable-languages=c,c++ \ +../gcc-&gcc-version;/configure \ + --target=$LFS_TGT \ + --prefix=/tools \ + --with-sysroot=$LFS \ + --with-newlib \ + --without-headers \ + --with-local-prefix=/tools \ + --with-native-system-header-dir=/tools/include \ + --disable-nls \ + --disable-shared \ + --disable-multilib \ + --disable-decimal-float \ + --disable-threads \ + --disable-libatomic \ + --disable-libgomp \ + --disable-libitm \ + --disable-libmudflap \ + --disable-libquadmath \ + --disable-libsanitizer \ + --disable-libssp \ + --disable-libstdc++-v3 \ + --enable-languages=c,c++ \ --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \ --with-mpfr-lib=$(pwd)/mpfr/src/.libs diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 60c9f467d..a370daf71 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -107,23 +107,24 @@ cd ../gcc-build Now prepare GCC for compilation: -CC=$LFS_TGT-gcc \ -CXX=$LFS_TGT-g++ \ -AR=$LFS_TGT-ar \ -RANLIB=$LFS_TGT-ranlib \ -../gcc-&gcc-version;/configure \ - --prefix=/tools \ - --with-local-prefix=/tools \ - --with-native-system-header-dir=/tools/include \ - --enable-clocale=gnu \ - --enable-shared \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --enable-languages=c,c++ \ - --disable-libstdcxx-pch \ - --disable-multilib \ - --disable-bootstrap \ - --disable-libgomp \ + +CC=$LFS_TGT-gcc \ +CXX=$LFS_TGT-g++ \ +AR=$LFS_TGT-ar \ +RANLIB=$LFS_TGT-ranlib \ +../gcc-&gcc-version;/configure \ + --prefix=/tools \ + --with-local-prefix=/tools \ + --with-native-system-header-dir=/tools/include \ + --enable-clocale=gnu \ + --enable-shared \ + --enable-threads=posix \ + --enable-__cxa_atexit \ + --enable-languages=c,c++ \ + --disable-libstdcxx-pch \ + --disable-multilib \ + --disable-bootstrap \ + --disable-libgomp \ --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \ --with-mpfr-lib=$(pwd)/mpfr/src/.libs diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 642532c87..b774e2d03 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -76,14 +76,14 @@ esac Next, prepare Glibc for compilation: ../glibc-&glibc-version;/configure \ - --prefix=/tools \ - --host=$LFS_TGT \ + --prefix=/tools \ + --host=$LFS_TGT \ --build=$(../glibc-&glibc-version;/scripts/config.guess) \ - --disable-profile \ - --enable-kernel=2.6.25 \ - --with-headers=/tools/include \ - libc_cv_forced_unwind=yes \ - libc_cv_ctors_header=yes \ + --disable-profile \ + --enable-kernel=2.6.25 \ + --with-headers=/tools/include \ + libc_cv_forced_unwind=yes \ + libc_cv_ctors_header=yes \ libc_cv_c_cleanup=yes diff --git a/chapter06/adjusting.xml b/chapter06/adjusting.xml index 1a58b1dbb..48057ee6c 100644 --- a/chapter06/adjusting.xml +++ b/chapter06/adjusting.xml @@ -30,9 +30,9 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld so that GCC knows where to find the correct headers and Glibc start files. A sed command accomplishes this: -gcc -dumpspecs | sed -e 's@/tools@@g' \ +gcc -dumpspecs | sed -e 's@/tools@@g' \ -e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \ - -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \ + -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' & \ `dirname $(gcc --print-libgcc-file-name)`/specs It is a good idea to visually inspect the specs file to verify the diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 449f3a76a..b3fb46f2e 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -69,7 +69,7 @@ cd ../glibc-build Prepare Glibc for compilation: -../glibc-&glibc-version;/configure \ +../glibc-&glibc-version;/configure \ --prefix=/usr \ --disable-profile \ --enable-kernel=2.6.25 \ -- cgit v1.2.3-54-g00ecf