From efcb3933433838b71f3a4a53ec1ac6d899aaec0b Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 3 May 2020 21:02:51 +0000 Subject: Make the new book git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) (limited to 'chapter06/gcc.xml') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index a9c8fa16c..952e3cca7 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -58,8 +58,8 @@ cd build Prepare GCC for compilation: -SED=sed \ -../configure --prefix=/usr \ +../configure --prefix=/usr \ + LD=ld \ --enable-languages=c,c++ \ --disable-multilib \ --disable-bootstrap \ @@ -71,25 +71,8 @@ cd build for instructions on how to build all of GCC's supported languages. - The meaning of the new configure parameters: + The meaning of the new configure parameter: - - SED=sed - - Setting this environment variable prevents a hard-coded - path to /tools/bin/sed. - - - --with-system-zlib @@ -170,12 +153,12 @@ rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/ ln -sv ../usr/bin/cpp /lib - + Add a compatibility symlink to enable building programs with Link Time Optimization (LTO): -- cgit v1.2.3-54-g00ecf