Changeset f6810d4 for chapter05


Ignore:
Timestamp:
05/27/2002 03:17:49 AM (22 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
43f167c
Parents:
69b8ba4
Message:

Upgraded to: automake-1.6.1, bin86-0.16.3, file-3.38, gawk-3.1.1, gcc-3.1, gettext-0.11.2, modutils-2.4.16, psmisc-21 and util-linux-2.11r. Added gcc-3.1 compile fix patches for ncurses, perl and vim

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1917 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter05
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter05/gcc-exp.xml

    r69b8ba4 rf6810d4  
    11<sect2>
    22<title>Command explanations</title>
    3 
    4 <para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput>
    5 This patch deals with the incorrect handling of weak symbols, the
    6 over-optimization of calls to those weak symbols, an atexit issue, and
    7 the  __dso_handle symbol required for atexit's proper function.</para>
    83
    94<para><userinput>make BOOT_LDFLAGS=-static:</userinput>
     
    3227cpp to be in /usr/lib.</para>
    3328
    34 <para><userinput>rmdir $LFS/usr/*-gnu/include</userinput> and
    35 <userinput>rmdir $LFS/usr/*-gnu</userinput>: These directories are created
    36 as empty directories by GCC and serve absolutely no purpose whatsoever.
    37 It's related to cross-compilers but that doesn't apply to us and it's
    38 considered a bug in GCC that you can't turn that off, especially since they
    39 end up being empty directories. So we remove them manually.</para>
    4029</sect2>
    4130
  • chapter05/gcc-inst.xml

    r69b8ba4 rf6810d4  
    1515<para>Install GCC by running the following commands:</para>
    1616
    17 <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
    18 mkdir ../gcc-build &amp;&amp;
     17<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
    1918cd ../gcc-build &amp;&amp;
    2019../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c,c++ \
     
    2221make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
    2322make prefix=$LFS/static install &amp;&amp;
    24 ln -s gcc $LFS/static/bin/cc &amp;&amp;
    25 rmdir $LFS/static/*-gnu/include &amp;&amp;
    26 rmdir $LFS/static/*-gnu</userinput></screen></para>
     23ln -s gcc $LFS/static/bin/cc</userinput></screen></para>
    2724
    2825</sect2>
Note: See TracChangeset for help on using the changeset viewer.