Эх сурвалжийг харах

Changed gcc-links to /usr/bin/cpp

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@373 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Thomas Balu Walter 24 жил өмнө
parent
commit
a21eb83210

+ 6 - 6
chapter01/changelog.xml

@@ -30,7 +30,7 @@ too now.
 
 <listitem><para>
 Chapter 5: Removed --disable-nls from configuration of programs that don't
-need that (bash, diffutils, sed)
+need it (bash, diffutils, gzip, sed).
 </para></listitem>
 
 <listitem><para>
@@ -59,11 +59,6 @@ su'ed to) user root.
 Chapter 5: Simplified ln commands.
 </para></listitem>
 
-<listitem><para>
-Chapter 5: Removed --disable-nls from gzip's configure commands. It's
-useless there.
-</para></listitem>
-
 <listitem><para>
 Chapter 5: Removed prefix=$LFS/usr from tar's make install.
 </para></listitem>
@@ -82,6 +77,11 @@ Chapter 5: Beautified the static link process for mawk.
 Chapter 5+6: Upgraded gcc-2.95.2 to gcc-2.95.2.1.
 </para></listitem>
 
+<listitem><para>
+Chapter 5: Changed the links we create during gcc-installation to 
+$LFS/usr/bin/cpp.
+</para></listitem>
+
 <listitem><para>
 Chapter 5+6: Moved Glibc from chapter 5 to chapter 6.
 </para></listitem>

+ 2 - 2
chapter05/gcc-exp.xml

@@ -9,13 +9,13 @@ the --enable-languages parameter can be omitted.
 </para>
 
 <para>
-<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp:</userinput> This
+<userinput>ln -s ../usr/bin/cpp:</userinput> This
 creates the $LFS/lib/cpp symlink. Some packages explicitely try to find
 cpp in /lib.
 </para>
 
 <para>
-<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp:</userinput> This
+<userinput>ln -s ../bin/cpp:</userinput> This
 creates the $LFS/usr/lib/cpp symlink as there are packages that expect
 cpp to be in /usr/lib.
 </para>

+ 2 - 2
chapter05/gcc-inst.xml

@@ -23,10 +23,10 @@ running the following commands:
 	<userinput>&nbsp;&nbsp;&nbsp;gxx_include_dir=$LFS/usr/include/g++ 
 		install &amp;&amp;</userinput>
 	<userinput>cd $LFS/lib &amp;&amp;</userinput>
-	<userinput>ln -s ../usr/lib/gcc-lib/*/2.95.2.1/cpp
+	<userinput>ln -s ../usr/bin/cpp
 		 &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/lib &amp;&amp;</userinput>
-	<userinput>ln -s gcc-lib/*/2.95.2.1/cpp
+	<userinput>ln -s ../bin/cpp
 		 &amp;&amp;</userinput>
 	<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
 	<userinput>ln -s gcc cc</userinput>