Explorar o código

[Bug 258] More packages suggest seperate build dir

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1509 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers %!s(int64=23) %!d(string=hai) anos
pai
achega
d6bc819962

+ 4 - 0
chapter01/changelog.xml

@@ -24,6 +24,10 @@
 
 <itemizedlist>
 
+<listitem><para>January 30th, 2002 [markh]: Chapters 5+6: Changed
+binutils and e2fsprogs installation instructions to use seperate
+directories ala gcc and glibc.</para></listitem>
+
 <listitem><para>January 30th, 2002 [gerard]: Chapter 6 - Bootscripts: Added
 a chown root.root after the cp.</para></listitem>
 

+ 4 - 1
chapter05/binutils-inst.xml

@@ -9,7 +9,10 @@ it comes with.</para>
 
 <para>Install Binutils by running the following commands:</para>
 
-<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls &amp;&amp;
+
+<para><screen><userinput>mkdir ../binutils-build &amp;&amp;
+cd ../binutils-build &amp;&amp;
+../binutils-&binutils-version;/configure --prefix=$LFS/usr --disable-nls &amp;&amp;
 make LDFLAGS=-all-static tooldir=$LFS/usr &amp;&amp;
 make tooldir=$LFS/usr install</userinput></screen></para>
 

+ 4 - 1
chapter06/binutils-inst.xml

@@ -8,7 +8,10 @@ it comes with.</para>
 
 <para>Install Binutils by running the following commands:</para>
 
-<para><screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;
+
+<para><screen><userinput>mkdir ../binutils-build &amp;&amp;
+cd ../binutils-build &amp;&amp;
+../binutils-&binutils-version;/configure --prefix=/usr --enable-shared &amp;&amp;
 make tooldir=/usr &amp;&amp;
 make tooldir=/usr install &amp;&amp;
 make tooldir=/usr install-info</userinput></screen></para>

+ 3 - 1
chapter06/e2fsprogs-inst.xml

@@ -3,7 +3,9 @@
 
 <para>Install E2fsprogs by running the following commands:</para>
 
-<para><screen><userinput>./configure --prefix=/usr --with-root-prefix="" \
+<para><screen><userinput>mkdir ../e2fsprogs-build &amp;&amp;
+cd ../e2fsprogs-build &amp;&amp;
+../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \
 &nbsp;&nbsp;&nbsp;--enable-elf-shlibs &amp;&amp;
 make &amp;&amp;
 make install &amp;&amp;