Selaa lähdekoodia

fixed installation instructions so that chapter 06-bzip2 is compiled properly with PIC on all object files (switch make and make -f Makefile-libbz2_so)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1784 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 vuotta sitten
vanhempi
commit
cb5965baed
2 muutettua tiedostoa jossa 8 lisäystä ja 3 poistoa
  1. 6 1
      chapter01/changelog.xml
  2. 2 2
      chapter06/bzip2-inst.xml

+ 6 - 1
chapter01/changelog.xml

@@ -35,7 +35,12 @@
 
 </para></listitem>
 
-<listitem><para>April 3rd, 2002 [gerard]: Chapter 5 - Linux: Shortened the
+<listitem><para>April 3rd, 2002 [gerard]: Chapter 06 - Bzip2: Reversed the
+<userinput>make</userinput> and <userinput>make -f
+Makefile-libbz2_so</userinput>. This is needed so all object files are
+compiled with the PIC option (Position Independant Code).</para></listitem>
+
+<listitem><para>April 3rd, 2002 [gerard]: Chapter 05 - Linux: Shortened the
 installation instructions by cutting out the <userinput>make
 config</userinput> and <userinput>make dep</userinput>
 stages.</para></listitem>

+ 2 - 2
chapter06/bzip2-inst.xml

@@ -3,8 +3,8 @@
 
 <para>Install Bzip2 by running the following commands:</para>
 
-<para><screen><userinput>make &amp;&amp;
-make -f Makefile-libbz2_so &amp;&amp;
+<para><screen><userinput>make -f Makefile-libbz2_so &amp;&amp;
+make &amp;&amp;
 rm /usr/bin/bz* &amp;&amp;
 make PREFIX=/usr install &amp;&amp;
 cp bzip2-shared /bin/bzip2 &amp;&amp;