aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@act-europe.fr>2003-12-08 11:07:30 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2003-12-08 11:07:30 +0100
commitaf5734de253d5f4e0ebeb9b2439c885f9f233c5c (patch)
tree024d412c25967f28ec3c9521656a7db3c4e9caf3
parent09755a851209ba80c7f000ff9eace74fa4adcda7 (diff)
downloadgcc-af5734de253d5f4e0ebeb9b2439c885f9f233c5c.zip
gcc-af5734de253d5f4e0ebeb9b2439c885f9f233c5c.tar.gz
gcc-af5734de253d5f4e0ebeb9b2439c885f9f233c5c.tar.bz2
PR ada/13324, PR ada/12614
PR ada/13324, PR ada/12614 * doc/install.texi: Update requirements for building Ada. From-SVN: r74411
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/install.texi21
2 files changed, 6 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b3bffc0..cb3fc9e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
+
+ PR ada/13324, PR ada/12614
+ * doc/install.texi: Update requirements for building Ada.
+
2003-12-07 David Edelsohn <edelsohn@gnu.org>
Graham Reed <greed@pobox.com>
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 14a2c17..0ef01ff 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1415,32 +1415,15 @@ this is especially true for slow drives and network filesystems.
In order to build GNAT, the Ada compiler, you need a working GNAT
compiler (GNAT version 3.14 or later, or GCC version 3.1 or later),
+including GNAT tools such as @command{gnatmake} and @command{gnatlink},
since the Ada front end is written in Ada (with some
GNAT-specific extensions), and GNU make.
-However, you do not need a full installation of GNAT, just the GNAT
-binary @file{gnat1}, a copy of @file{gnatbind}, and a compiler driver
-which can deal with Ada input (by invoking the @file{gnat1} binary).
-Of course, you still need a working C compiler, with the same compiler
-driver.
-
@command{configure} does not test whether the GNAT installation works
and has a sufficiently recent version; if too old a GNAT version is
installed, the build will fail unless @option{--enable-languages} is
used to disable building the Ada front end.
-Additional build tools (such as @command{gnatmake}) or a working GNAT
-run-time library installation are usually @emph{not} required. However,
-if you want to bootstrap the compiler using a minimal version of GNAT,
-you have to issue the following commands before invoking @samp{make
-bootstrap} (this assumes that you start with an unmodified and consistent
-source distribution):
-
-@example
- cd @var{srcdir}/gcc/ada
- touch treeprs.ads [es]info.h nmake.ad[bs]
-@end example
-
At the moment, the GNAT library and several tools for GNAT are not built
by @samp{make bootstrap}. For a native build, you have to invoke
@samp{make gnatlib_and_tools} in the @file{@var{objdir}/gcc}
@@ -1456,8 +1439,6 @@ following commands (assuming @command{make} is GNU make):
@example
cd @var{objdir}
@var{srcdir}/configure --enable-languages=c,ada
- cd @var{srcdir}/gcc/ada
- touch treeprs.ads [es]info.h nmake.ad[bs]
cd @var{objdir}
make bootstrap
cd gcc