Browse Source

Remove redundant parameters for chapter05 gcc installs and add description for lib=lib parameter in libcap.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/nosym@11151 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
DJ Lucas 8 years ago
parent
commit
a2bbc165ba
3 changed files with 10 additions and 2 deletions
  1. 0 1
      chapter05/gcc-pass1.xml
  2. 0 1
      chapter05/gcc-pass2.xml
  3. 10 0
      chapter06/libcap.xml

+ 0 - 1
chapter05/gcc-pass1.xml

@@ -133,7 +133,6 @@ cd       build</userinput></screen>
     --target=$LFS_TGT                              \
     --prefix=/tools                                \
     --with-glibc-version=2.11                      \
-    --with-slibdir=/tools/lib                      \
     --with-sysroot=$LFS                            \
     --with-newlib                                  \
     --without-headers                              \

+ 0 - 1
chapter05/gcc-pass2.xml

@@ -126,7 +126,6 @@ RANLIB=$LFS_TGT-ranlib                             \
     --prefix=/tools                                \
     --with-local-prefix=/tools                     \
     --with-native-system-header-dir=/tools/include \
-    --with-slibdir=/tools/lib                      \
     --enable-languages=c,c++                       \
     --disable-libstdcxx-pch                        \
     --disable-multilib                             \

+ 10 - 0
chapter06/libcap.xml

@@ -70,6 +70,16 @@ chmod -v 755 /usr/lib/libcap.so</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>lib=lib</parameter></term>
+        <listitem>
+          <para>This parameter installs the library in
+          <filename>$prefix/lib</filename> rather than
+          <filename>$prefix/lib64</filename> on x86_64. It has no effect on
+          x86.</para>
+        </listitem>
+      </varlistentry>
+ 
     </variablelist>
 
     <para>The shared library needs to be moved to