aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@act-europe.fr>2004-02-10 12:32:44 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2004-02-10 12:32:44 +0100
commitcd2710546b7ef850ed0d0634a92f1b39fd5ebef3 (patch)
tree0d0092751ade80efb93ce8d163bf6fb229de3158 /gcc/doc
parent0e315ffc0d33451678f0eccb8800f334948e24e1 (diff)
downloadgcc-cd2710546b7ef850ed0d0634a92f1b39fd5ebef3.zip
gcc-cd2710546b7ef850ed0d0634a92f1b39fd5ebef3.tar.gz
gcc-cd2710546b7ef850ed0d0634a92f1b39fd5ebef3.tar.bz2
sourcebuild.texi: Add libada documentation.
* doc/sourcebuild.texi: Add libada documentation. * doc/install.texi: Update documentation on Ada build, now that the GNAT lib and tools are built automatically. From-SVN: r77596
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi21
-rw-r--r--gcc/doc/sourcebuild.texi3
2 files changed, 9 insertions, 15 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 7486cd2..924c05b 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1028,6 +1028,12 @@ sub-tree will be configured. Re-defining @code{LANGUAGES} when calling
@samp{make bootstrap} @strong{does not} work anymore, as those
language sub-directories might not have been configured!
+@item --disable-libada
+Specify that the run-time libraries and tools used by GNAT should not
+be built. This can be useful for debugging, or for compatibility with
+previous Ada build procedures, when it was required to explicitely
+do a @samp{make -C gcc gnatlib_and_tools}.
+
@item --disable-libgcj
Specify that the run-time libraries
used by GCJ should not be built. This is useful in case you intend
@@ -1447,15 +1453,6 @@ 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.
-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}
-subdirectory before proceeding with the next steps.
-For a cross build, you need to invoke
-@samp{make gnatlib cross-gnattools ada.all.cross}. For a canadian
-cross you only need to invoke @samp{make cross-gnattools}; the GNAT
-library would be the same as the one built for the cross compiler.
-
For example, you can build a native Ada compiler by issuing the
following commands (assuming @command{make} is GNU make):
@@ -1464,14 +1461,8 @@ following commands (assuming @command{make} is GNU make):
@var{srcdir}/configure --enable-languages=c,ada
cd @var{objdir}
make bootstrap
- cd gcc
- make gnatlib_and_tools
- cd ..
@end smallexample
-Currently, when compiling the Ada front end, you cannot use the parallel
-build feature described in the previous section.
-
@section Building with profile feedback
It is possible to use profile feedback to optimize the compiler itself. This
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 908dd67..db8d5dc 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -50,6 +50,9 @@ language front ends, and test suites. @xref{gcc Directory, , The
@item include
Headers for the @code{libiberty} library.
+@item libada
+The Ada runtime library.
+
@item libf2c
The Fortran runtime library.