Quick documentation fix

xerxez at zianet.com xerxez at zianet.com
Wed Oct 23 02:29:28 PDT 2002


Howdy there. My name is Art and I came across an error in the LFS book for 
4.0 (rc1). In chapter 5 under 'Installing GCC 3.2' the documentation reads:
...
patch -Np1 -i ../gcc-3.2.patch &&
patch -Np1 -i ../gcc-3.2-nofixincludes.patch &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-3.2/configure --prefix=/static --enable-languages=c \
  --disable-nls --disable-shared &&
echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
make BOOT_LDFLAGS=-static bootstrap &&
make prefix=$LFS/static install &&
ln -s gcc $LFS/static/bin/cc
... 

when it should read: 

...
patch -Np1 -i ../gcc-3.2.patch &&
patch -Np1 -i ../gcc-3.2-nofixincludes-2.patch &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-3.2/configure --prefix=/static --enable-languages=c \
  --disable-nls --disable-shared &&
echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
make BOOT_LDFLAGS=-static bootstrap &&
make prefix=$LFS/static install &&
ln -s gcc $LFS/static/bin/cc
... 

Notice that the only difference is in the second patch command, the '-2' was 
omitted in the documentation. I hope this helps someone. Of course feel free 
to mail me back if I am in error (though I tested it myself) or for any 
other reason. 

Art Fountain 
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list