aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-09-21 01:40:43 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-09-21 01:40:43 +0000
commitdc19fb6e8ee98149ca0e9971bbf62f8fb418197e (patch)
tree3a9034e7089ac14c59eca707cbcc3c3a71350789 /chapter05
parenta3e3143ddb19d3c33f5317353a3b32451d3afc07 (diff)
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
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/gcc-pass2-inst.xml11
-rw-r--r--chapter05/ncurses-inst.xml9
2 files changed, 13 insertions, 7 deletions
diff --git a/chapter05/gcc-pass2-inst.xml b/chapter05/gcc-pass2-inst.xml
index c9eb1dd25..81a1b2dbf 100644
--- a/chapter05/gcc-pass2-inst.xml
+++ b/chapter05/gcc-pass2-inst.xml
@@ -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>
diff --git a/chapter05/ncurses-inst.xml b/chapter05/ncurses-inst.xml
index 7b030edcf..938be653f 100644
--- a/chapter05/ncurses-inst.xml
+++ b/chapter05/ncurses-inst.xml
@@ -15,7 +15,7 @@ deprecated headers.</para>
<para>Now prepare Ncurses to be compiled:</para>
<para><screen><userinput>./configure --prefix=/tools --with-shared \
-&nbsp;&nbsp;&nbsp;&nbsp;--without-debug --without-ada</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;--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>