aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2002-01-30 16:11:56 +0000
committerMark Hymers <markh@linuxfromscratch.org>2002-01-30 16:11:56 +0000
commitd6bc8199625cccc22c8e38a724cd7782fdfa348f (patch)
tree0229f47d5390f3bb2f0da44a9401d40b62f66086
parent8a1321b1c08e5c9a1d1c5cdd6bf974a98e68123e (diff)
[Bug 258] More packages suggest seperate build dir
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1509 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter05/binutils-inst.xml5
-rw-r--r--chapter06/binutils-inst.xml5
-rw-r--r--chapter06/e2fsprogs-inst.xml4
4 files changed, 15 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index e3be5caa8..e5b77dcc4 100644
--- a/chapter01/changelog.xml
+++ b/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>
diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml
index ba383cdef..a64e6b687 100644
--- a/chapter05/binutils-inst.xml
+++ b/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>
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml
index 07456bab9..baf004950 100644
--- a/chapter06/binutils-inst.xml
+++ b/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>
diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml
index c88bc23f7..de353e8fc 100644
--- a/chapter06/e2fsprogs-inst.xml
+++ b/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;