aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml12
-rw-r--r--chapter05/binutils-pass1.xml13
-rw-r--r--chapter05/gcc-pass1.xml13
-rw-r--r--general.ent4
-rw-r--r--prologue/hostreqs.xml4
5 files changed, 41 insertions, 5 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 3a7b6ab90..044989575 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -37,6 +37,18 @@
-->
<listitem>
+ <para>2007-03-14</para>
+ <itemizedlist>
+ <listitem>
+ <para>[dnicholson] - Force the host's linker to be used throughout
+ Binutils-Pass1 and GCC-Pass1. This makes the build more robust since
+ the host's compiler may not be compatible with the linker installed
+ in Binutils-Pass1, such as on newer Fedora hosts.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2007-03-04</para>
<itemizedlist>
<listitem>
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
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index 1e35da182..7ecba825a 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -45,7 +45,7 @@ cd ../gcc-build</userinput></screen>
<para>Prepare GCC for compilation:</para>
-<screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
+<screen><userinput>CC="gcc -B/usr/bin/" ../gcc-&gcc-version;/configure --prefix=/tools \
--with-local-prefix=/tools --disable-nls --enable-shared \
--enable-languages=c</userinput></screen>
@@ -53,6 +53,17 @@ cd ../gcc-build</userinput></screen>
<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 in the previous section is not compatible with the host's
+ <command>gcc</command>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--with-local-prefix=/tools</parameter></term>
<listitem>
<para>The purpose of this switch is to remove <filename
diff --git a/general.ent b/general.ent
index aa836118d..015217d33 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20070304">
-<!ENTITY releasedate "March 4, 2007">
+<!ENTITY version "SVN-20070314">
+<!ENTITY releasedate "March 14, 2007">
<!ENTITY milestone "6.3">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index 6464f4c7a..9be5f38e9 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -56,7 +56,9 @@
</listitem>
<listitem>
- <para><emphasis role="strong">Gcc-2.95.3</emphasis> (Versions
+ <!-- Gcc-2.95.3 breaks feature tests when using CC="gcc -B/usr/bin/"
+ in the *-pass1 sections -->
+ <para><emphasis role="strong">Gcc-3.0.1</emphasis> (Versions
greater than &gcc-version; are not recommended as they have not
been tested)</para>
</listitem>