mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
note not to remove tcl directory
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2540 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
98ced7fdd1
commit
0939e573f2
@ -11,7 +11,6 @@
|
||||
<listitem><para>automake-1.7.4</para></listitem>
|
||||
<listitem><para>e2fsprogs-1.33</para></listitem>
|
||||
<listitem><para>file-4.02</para></listitem>
|
||||
<listitem><para>flex-2.5.31</para></listitem>
|
||||
<listitem><para>gawk-3.1.2</para></listitem>
|
||||
<listitem><para>gcc-3.2.3</para></listitem>
|
||||
<listitem><para>glibc-2.3.2</para></listitem>
|
||||
@ -44,8 +43,6 @@
|
||||
<listitem><para>gawk-3.1.2.patch</para></listitem>
|
||||
<listitem><para>gcc-2.95.3</para></listitem>
|
||||
<listitem><para>gcc-2.95.3-2.patch</para></listitem>
|
||||
<listitem><para>gcc-3.2.3-libgcc_no_debug.patch</para></listitem>
|
||||
<listitem><para>gcc-3.2.3-libstdc++_no_debug.patch</para></listitem>
|
||||
<listitem><para>gcc-3.2.3-mmap_test.patch</para></listitem>
|
||||
<listitem><para>gcc-3.2.3-no_fixincludes.patch</para></listitem>
|
||||
<listitem><para>gcc-3.2.3-specs.patch</para></listitem>
|
||||
@ -66,6 +63,16 @@
|
||||
</itemizedlist>
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>May 7th, 2003 [gerard]: Removed GCC No Debug patches. No
|
||||
longer assume gcc-core and gcc-g++ packages are downloaded, so added
|
||||
appropriate --enable-languages options.</para></listitem>
|
||||
|
||||
<listitem><para>May 7th, 2003 [gerard]: Removed Chapter 6 - Glibc-Pass2.
|
||||
It's not needed anymore with the pure-lfs integration.</para></listitem>
|
||||
|
||||
<listitem><para>May 7th, 2003 [gerard]: Downgraded to flex-2.5.4a again.
|
||||
Newer versions just don't work properly.</para></listitem>
|
||||
|
||||
<listitem><para>May 5th, 2003 [gerard]: Removed zlib installation from
|
||||
chapter 5 (its inclusion was a mistake).</para></listitem>
|
||||
|
||||
|
@ -4,14 +4,8 @@ GCC (&gcc-version;) - &gcc-core-size;:
|
||||
GCC Specs Patch:
|
||||
<ulink url="&http;/gcc-3.2.3-specs-2.patch"/>
|
||||
|
||||
GCC libgcc No Debug Patch:
|
||||
<ulink url="&http;/gcc-3.2.3-libgcc_no_debug.patch"/>
|
||||
|
||||
GCC libstdc++ No Debug Patch:
|
||||
<ulink url="&http;/gcc-3.2.3-libstdc++_no_debug.patch"/>
|
||||
|
||||
GCC MMap Test Patch:
|
||||
<ulink url="&http;/gcc-3.2.3-mmap_test.patch"/>
|
||||
|
||||
GCC No Fixed Includes Patch:
|
||||
GCC No Fixincludes Patch:
|
||||
<ulink url="&http;/gcc-3.2.3-no_fixincludes.patch"/>
|
||||
|
@ -13,9 +13,7 @@ default optimizations, such as CFLAGS and CXXFLAGS, we recommend unsetting
|
||||
or modifying them when building GCC.</para>
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch
|
||||
patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch
|
||||
patch -Np1 -i ../gcc-&gcc-version;-libstdc++_no_debug.patch
|
||||
patch -Np1 -i ../gcc-&gcc-version;-libgcc_no_debug.patch</userinput></screen></para>
|
||||
patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch</userinput></screen></para>
|
||||
|
||||
<para>It is recommended by the GCC installation documentation to build
|
||||
GCC outside of the source directory in a dedicated directory:</para>
|
||||
@ -28,7 +26,8 @@ cd ../gcc-build</userinput></screen></para>
|
||||
<para><screen><userinput>CFLAGS="-O2 -pipe" \
|
||||
../gcc-&gcc-version;/configure --prefix=/stage1 \
|
||||
--with-local-prefix=/stage1 \
|
||||
--disable-nls --enable-shared </userinput></screen></para>
|
||||
--disable-nls --enable-shared \
|
||||
--enable-languages=c</userinput></screen></para>
|
||||
|
||||
<para>The meaning of the configure options are:</para>
|
||||
|
||||
|
@ -5,9 +5,7 @@
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-specs-2.patch
|
||||
patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch
|
||||
patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch
|
||||
patch -Np1 -i ../gcc-&gcc-version;-libstdc++_no_debug.patch
|
||||
patch -Np1 -i ../gcc-&gcc-version;-libgcc_no_debug.patch </userinput></screen></para>
|
||||
patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes.patch</userinput></screen></para>
|
||||
|
||||
<para><screen><userinput>mkdir ../gcc-build
|
||||
cd ../gcc-build</userinput></screen></para>
|
||||
@ -16,7 +14,8 @@ cd ../gcc-build</userinput></screen></para>
|
||||
../gcc-&gcc-version;/configure --prefix=/stage1 \
|
||||
--with-local-prefix=/stage1 \
|
||||
--enable-clocale=gnu --enable-shared \
|
||||
--enable-threads=posix --enable-__cxa_atexit
|
||||
--enable-threads=posix --enable-__cxa_atexit \
|
||||
--enable-languages=c,c++
|
||||
make LDFLAGS="-s"
|
||||
make -k check
|
||||
make install</userinput></screen></para>
|
||||
|
@ -31,7 +31,8 @@ cd ../gcc-build</userinput></screen></para>
|
||||
--enable-shared --enable-threads=posix \
|
||||
--enable-__cxa_atexit --enable-clocale=gnu \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info</userinput></screen></para>
|
||||
--infodir=/usr/share/info \
|
||||
--enable-languages=c,c++</userinput></screen></para>
|
||||
|
||||
<para>The meanings of the configure options are:</para>
|
||||
|
||||
|
@ -10,5 +10,8 @@ make test
|
||||
make install
|
||||
ln -s tclsh8.4 /usr/bin/tclsh</userinput></screen></para>
|
||||
|
||||
<para>Don't remove the tcl&tcl-version; directory yet, you need it for the
|
||||
next package installation.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user