mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
Chapter 5 - GCC Pass 2: Updated to gcc-3.3.1-specs-2.patch. Ncurses: added --enable-overwrite and description.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2853 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a3e3143ddb
commit
dc19fb6e8e
@ -58,7 +58,7 @@
|
||||
<listitem><para>gcc-2.95.3-2.patch</para></listitem>
|
||||
<listitem><para>gcc-2.95.3-returntype-fix.patch</para></listitem>
|
||||
<listitem><para>gcc-3.3.1-no_fixincludes-2.patch</para></listitem>
|
||||
<listitem><para>gcc-3.3.1-specs-1.patch</para></listitem>
|
||||
<listitem><para>gcc-&gcc-specs-version;.patch</para></listitem>
|
||||
<listitem><para>gcc-3.3.1-suppress-libiberty.patch</para></listitem>
|
||||
<listitem><para>grub-0.93</para></listitem>
|
||||
<listitem><para>grub-0.93-gcc33-1.patch</para></listitem>
|
||||
@ -94,6 +94,10 @@
|
||||
</itemizedlist>
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>September 20th, 2003 [greg]: Chapter 5 - GCC Pass 2: Updated
|
||||
to gcc-3.3.1-specs-2.patch. Ncurses: added --enable-overwrite and description.
|
||||
</para></listitem>
|
||||
|
||||
<listitem><para>September 19th, 2003 [jeremy]: Corrected bash tags for proper
|
||||
use of the +h flag to bash</para></listitem>
|
||||
|
||||
|
@ -260,7 +260,7 @@ GCC-2 Return-type Patch:
|
||||
GCC No Fixincludes Patch:
|
||||
<ulink url="&http;/gcc-3.3.1-no_fixincludes-2.patch"/>
|
||||
GCC Specs Patch:
|
||||
<ulink url="&http;/gcc-3.3.1-specs-1.patch"/>
|
||||
<ulink url="&http;/gcc-&gcc-specs-version;.patch"/>
|
||||
GCC Suppress Libiberty Patch:
|
||||
<ulink url="&http;/gcc-3.3.1-suppress-libiberty.patch"/>
|
||||
|
||||
|
@ -34,11 +34,12 @@ searched before the system include directory, resulting in GCC finding the
|
||||
fixed headers from the host system, which would most likely not match the Glibc
|
||||
version actually used for the LFS system.</para>
|
||||
|
||||
<para>The last patch changes GCC's default location of the dynamic linker
|
||||
(ld). Patching now rather than adjusting the specs file after installation
|
||||
ensures that our new dynamic linker gets used during the actual build of GCC.
|
||||
That is, all the final (and temporary) binaries created during the build will
|
||||
link against the new Glibc.</para>
|
||||
<para>The last patch changes GCC's default location of the dynamic linker
|
||||
(typically ld-linux.so.2). It also removes <filename class="directory">/usr/include
|
||||
</filename> from GCC's include search path. Patching now rather than adjusting
|
||||
the specs file after installation ensures that our new dynamic linker gets used
|
||||
during the actual build of GCC. That is, all the final (and temporary) binaries
|
||||
created during the build will link against the new Glibc.</para>
|
||||
|
||||
<para>Create a separate build directory again:</para>
|
||||
|
||||
|
@ -15,7 +15,7 @@ deprecated headers.</para>
|
||||
<para>Now prepare Ncurses to be compiled:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/tools --with-shared \
|
||||
--without-debug --without-ada</userinput></screen></para>
|
||||
--without-debug --without-ada --enable-overwrite</userinput></screen></para>
|
||||
|
||||
<para>The meaning of the configure options:</para>
|
||||
|
||||
@ -24,7 +24,12 @@ deprecated headers.</para>
|
||||
to build its Ada bindings, even if an Ada compiler is installed on the host.
|
||||
This must be done because once we enter the chroot environment, Ada will no
|
||||
longer be available.</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<listitem><para><userinput>--enable-overwrite</userinput>: This tells Ncurses
|
||||
to install its header files into <filename class="directory">/tools/include</filename>
|
||||
instead of <filename class="directory">/tools/include/ncurses</filename> to
|
||||
ensure that other packages can find the Ncurses headers successfully.</para>
|
||||
</listitem></itemizedlist>
|
||||
|
||||
<para>Compile the programs and libraries:</para>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
<!ENTITY aa-gcc-down SYSTEM "../appendixa/gcc-down.xml">
|
||||
|
||||
<!ENTITY gcc-version "3.3.1">
|
||||
<!ENTITY gcc-specs-version "3.3.1-specs-1">
|
||||
<!ENTITY gcc-specs-version "3.3.1-specs-2">
|
||||
<!ENTITY gcc-depversion "2.95.3">
|
||||
<!ENTITY gcc-contversion "3.1">
|
||||
<!ENTITY gcc-core-size "13,140 KB">
|
||||
|
Loading…
Reference in New Issue
Block a user