diff options
Diffstat (limited to 'chapter05/binutils-pass1.xml')
-rw-r--r-- | chapter05/binutils-pass1.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 3541aa055..bb12f9f0e 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -59,12 +59,23 @@ cd ../binutils-build</userinput></screen> <para>Now prepare Binutils for compilation:</para> -<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen> +<screen><userinput>CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> <varlistentry> + <term><envar>CC="gcc -B/usr/bin/"</envar></term> + <listitem> + <para>This forces <command>gcc</command> to prefer the linker from + the host in <filename class="directory">/usr/bin</filename>. This + is necessary on some hosts where the new <command>ld</command> + built here is not compatible with the host's <command>gcc</command>. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><parameter>--prefix=/tools</parameter></term> <listitem> <para>This tells the configure script to prepare to install the |