cvs commit: LFS/BOOK/chapter06 binutils-inst.xml gcc-inst.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Mon May 5 15:28:14 PDT 2003


gerard      03/05/05 18:28:14

  Modified:    BOOK/chapter06 binutils-inst.xml gcc-inst.xml
  Log:
  fixed gcc installation instructions - no bootstrap, no /usr/lib/cpp symlink, fixed patch filename
  
  Revision  Changes    Path
  1.18      +3 -3      LFS/BOOK/chapter06/binutils-inst.xml
  
  Index: binutils-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/binutils-inst.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- binutils-inst.xml	2 May 2003 18:20:19 -0000	1.17
  +++ binutils-inst.xml	5 May 2003 22:28:14 -0000	1.18
  @@ -23,9 +23,9 @@
   
   <para>Continue with compiling the package:</para>
   
  -<para><screen><userinput>make LDFLAGS="-s"</userinput></screen></para>
  +<para><screen><userinput>make tooldir=/usr LDFLAGS="-s"</userinput></screen></para>
   
  -<para><screen><userinput>make -k check</userinput></screen></para>
  +<para><screen><userinput>make check</userinput></screen></para>
   
   <para>Normally, the <emphasis>tooldir</emphasis> (the directory where the
   executables end up) is set to $(exec_prefix)/$(target_alias) which expands
  @@ -37,7 +37,7 @@
   
   <para>Install the package:</para>
   
  -<para><screen><userinput>make install</userinput></screen></para>
  +<para><screen><userinput>make tooldir=/usr install</userinput></screen></para>
   
   <para><screen><userinput>rm /usr/lib/libiberty.a</userinput></screen></para>
   
  
  
  
  1.45      +3 -5      LFS/BOOK/chapter06/gcc-inst.xml
  
  Index: gcc-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/gcc-inst.xml,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- gcc-inst.xml	2 May 2003 18:20:19 -0000	1.44
  +++ gcc-inst.xml	5 May 2003 22:28:14 -0000	1.45
  @@ -14,7 +14,7 @@
   available in the full gcc package; instructions for building them may be
   found at <ulink url="&blfs-root;view/cvs/general/gcc.html"/>.</para>
   
  -<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixedincludes.patch
  +<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch
   patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch</userinput></screen></para>
   
   <para>It is recommended by the GCC installation documentation to build GCC
  @@ -55,8 +55,7 @@
   
   <para>Continue with compiling the package:</para>
   
  -<para><screen><userinput>make BOOT_LDFLAGS="-s" BOOT_CFLAGS="-O2 -pipe" \
  -    STAGE1_CFLAGS="-pipe" bootstrap</userinput></screen></para>
  +<para><screen><userinput>make LDFLAGS="-s"</userinput></screen></para>
   
   <para><screen><userinput>make -k check</userinput></screen></para>
   
  @@ -68,8 +67,7 @@
   <filename>/lib</filename> and <filename>/usr/lib</filename> directories.
   To honor those packages, create two symlinks:</para>
   
  -<para><screen><userinput>ln -s ../usr/bin/cpp /lib &&
  -ln -s ../bin/cpp /usr/lib</userinput></screen></para>
  +<para><screen><userinput>ln -s ../usr/bin/cpp /lib</userinput></screen></para>
   
   <para>Many packages compile using <emphasis>cc</emphasis> as the name for
   the C compiler. To satisfy those packages, create a <emphasis>cc</emphasis>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list