+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
@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
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):
@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