diff options
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter05/binutils-inst.xml | 5 | ||||
-rw-r--r-- | chapter06/binutils-inst.xml | 5 | ||||
-rw-r--r-- | chapter06/e2fsprogs-inst.xml | 4 |
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 && + +<para><screen><userinput>mkdir ../binutils-build && +cd ../binutils-build && +../binutils-&binutils-version;/configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-all-static tooldir=$LFS/usr && 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 && + +<para><screen><userinput>mkdir ../binutils-build && +cd ../binutils-build && +../binutils-&binutils-version;/configure --prefix=/usr --enable-shared && make tooldir=/usr && make tooldir=/usr install && 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 && +cd ../e2fsprogs-build && +../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \ --enable-elf-shlibs && make && make install && |