This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch for misleading documentation for Installing GCC
- To: gcc-patches at gcc dot gnu dot org
- Subject: patch for misleading documentation for Installing GCC
- From: Dietmar Schindler <schd at mra dot man dot de>
- Date: Mon, 18 Oct 1999 10:55:32 +0200
- Organization: MAN Roland
DESCRIPTION
"Installing GCC: Configuration"
<http://egcs.cygnus.com/install/configure.html> says
% srcdir/configure [target] [options]
...
target must be specified when configuring a cross compiler; examples
of valid targets would be i960-rtems, m68k-coff, sh-elf, etc.
The reader's attention shall be drawn to the fact that specifying just
target implies that host defaults to target, i. e. that no cross
compiler is made in the end or even that the make process fails.
In order to truly build a cross compiler,
% srcdir/configure --target=target [options]
has to be used.
CHANGELOG ENTRY
Mon Oct 18 09:01:50 METDST 1999 Dietmar Schindler (schd@mra.man.de)
* configure.html: Corrected configuring a cross compiler.
PATCH
attached
diff -up OLD/configure.html NEW/configure.html
--- OLD/configure.html Mon Oct 18 09:59:36 1999
+++ NEW/configure.html Mon Oct 18 10:42:37 1999
@@ -42,8 +42,12 @@ Otherwise the configuration scripts may
recommend you not provide a configure target when configuring a
native compiler.
- <li> <b>target</b> must be specified when configuring a cross compiler;
+ <li> <b>target</b> must be specified as <tt>--target=</tt><i>target</i>
+ when configuring a cross compiler;
examples of valid targets would be i960-rtems, m68k-coff, sh-elf, etc.
+
+ <li>Specifying just <i>target</i> instead of <tt>--target=</tt><i>target</i>
+ implies that the host defaults to <i>target</i>.
</ul>