diff options
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> |