diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 18:20:20 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-05-02 18:20:20 +0000 |
commit | bc82645e958948a6aefd3147a0d7f712de9eaf6b (patch) | |
tree | 4855b70f785c1e6bf04856e97824988120503b05 /chapter06/binutils-inst.xml | |
parent | 55b50e3f6653cef278bad7e45fe5a378966953a7 (diff) |
Integrated Pure LFS - Phase 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/binutils-inst.xml')
-rw-r--r-- | chapter06/binutils-inst.xml | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index 8adbe9dbd..f9c329061 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -16,11 +16,16 @@ cd ../binutils-build</userinput></screen></para> <para>Next, prepare Binutils to be compiled:</para> -<para><screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen></para> +<para><screen><userinput>CFLAGS="-O2 -pipe" \ + ../binutils-&binutils-version;/configure \ + --prefix=/usr --mandir=/usr/share/man \ + --infodir=/usr/share/info --enable-shared</userinput></screen></para> <para>Continue with compiling the package:</para> -<para><screen><userinput>make tooldir=/usr</userinput></screen></para> +<para><screen><userinput>make LDFLAGS="-s"</userinput></screen></para> + +<para><screen><userinput>make -k check</userinput></screen></para> <para>Normally, the <emphasis>tooldir</emphasis> (the directory where the executables end up) is set to $(exec_prefix)/$(target_alias) which expands @@ -32,16 +37,9 @@ executed on Apple PowerPC machines).</para> <para>Install the package:</para> -<para><screen><userinput>make tooldir=/usr install</userinput></screen></para> - -<para>Install the info pages:</para> - -<para><screen><userinput>make tooldir=/usr install-info</userinput></screen></para> - -<para>Some packages require the <emphasis>libiberty</emphasis> header -in order to build. To honor those packages, install the file:</para> +<para><screen><userinput>make install</userinput></screen></para> -<para><screen><userinput>cp ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen></para> +<para><screen><userinput>rm /usr/lib/libiberty.a</userinput></screen></para> </sect2> |