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
This commit is contained in:
Arnaud Charlet 2004-02-10 12:32:44 +01:00 committed by Arnaud Charlet
parent 0e315ffc0d
commit cd2710546b
3 changed files with 16 additions and 15 deletions

View File

@ -1,3 +1,10 @@
2004-02-10 Arnaud Charlet <charlet@act-europe.fr>
* doc/sourcebuild.texi: Add libada documentation.
* doc/install.texi: Update documentation on Ada build, now
that the GNAT lib and tools are built automatically.
2004-02-10 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI

View File

@ -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

View File

@ -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.