Patch to document baseline compiler version for building cross compilers (was: Re: Committed: Fix for C99 thinko in c++/3394 fix (but still present on branch))

Joseph S. Myers jsm28@cam.ac.uk
Mon Dec 3 16:03:00 GMT 2001


On Mon, 3 Dec 2001, Zack Weinberg wrote:

> He's building cross compilers.  The baseline for cross compilers needs
> to remain GCC 2.95 - even for non-C front ends - until 3.x is a hell
> of a lot more common.

The following patch provides the installer side of documenting this
baseline as the required compiler version.  It passes makeinfo, texi2dvi
and install.texi2html.  OK to commit to mainline and 3.0 branch?

There should be documentation on the internals side as well (portability
requirements for front ends).  Would anyone familiar with building cross
compilers care to merge the old docs in install-old.texi into
install.texi, so we can make progress towards removing all installation
docs from the main manual in a nicer way than making install-old.texi into
a chapter of the new install manual, and so facilitate moving to cleanly
split (user, internals, install) manuals?

2001-12-03  Joseph S. Myers  <jsm28@cam.ac.uk>

	* doc/install.texi: Document that installed native compiler for
	building cross compilers should be 2.95 or later.

--- install.texi.orig	Sun Nov 18 20:24:10 2001
+++ install.texi	Mon Dec  3 23:56:37 2001
@@ -939,7 +939,8 @@
 
 To build a cross compiler, we first recommend building and installing a
 native compiler.  You can then use the native GCC compiler to build the
-cross compiler.
+cross compiler.  The installed native compiler needs to be version
+2.95 or later.
 
 Assuming you have already installed a native copy of GCC and configured
 your cross compiler, issue the command @command{make}, which performs the

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list