Commit cd271054 by Arnaud Charlet Committed by Arnaud Charlet

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
parent 0e315ffc
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> 2004-02-10 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI * config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI
......
...@@ -1028,6 +1028,12 @@ sub-tree will be configured. Re-defining @code{LANGUAGES} when calling ...@@ -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 @samp{make bootstrap} @strong{does not} work anymore, as those
language sub-directories might not have been configured! 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 @item --disable-libgcj
Specify that the run-time libraries Specify that the run-time libraries
used by GCJ should not be built. This is useful in case you intend 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 ...@@ -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 installed, the build will fail unless @option{--enable-languages} is
used to disable building the Ada front end. 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 For example, you can build a native Ada compiler by issuing the
following commands (assuming @command{make} is GNU make): following commands (assuming @command{make} is GNU make):
...@@ -1464,14 +1461,8 @@ 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 @var{srcdir}/configure --enable-languages=c,ada
cd @var{objdir} cd @var{objdir}
make bootstrap make bootstrap
cd gcc
make gnatlib_and_tools
cd ..
@end smallexample @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 @section Building with profile feedback
It is possible to use profile feedback to optimize the compiler itself. This It is possible to use profile feedback to optimize the compiler itself. This
......
...@@ -50,6 +50,9 @@ language front ends, and test suites. @xref{gcc Directory, , The ...@@ -50,6 +50,9 @@ language front ends, and test suites. @xref{gcc Directory, , The
@item include @item include
Headers for the @code{libiberty} library. Headers for the @code{libiberty} library.
@item libada
The Ada runtime library.
@item libf2c @item libf2c
The Fortran runtime library. The Fortran runtime library.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment