From cd2710546b7ef850ed0d0634a92f1b39fd5ebef3 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 10 Feb 2004 12:32:44 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/doc/install.texi | 21 ++++++--------------- gcc/doc/sourcebuild.texi | 3 +++ 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af67fe4b385..a04669ba458 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-02-10 Arnaud Charlet + + * 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 * config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 7486cd23e6e..924c05bd1f5 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 908dd670b83..db8d5dc38ae 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. -- 2.30.2