This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: committed: merge with libada-branch
I've just committed the following:
* gcc/doc/sourcebuild.texi: Add libada documentation.
* gcc/doc/install.texi: Update documentation on Ada build, now
that the GNAT lib and tools are built automatically.
* maintainer-scripts/gcc_release: Add libada as part of ADA_DIRS.
* CVSROOT/modules: Add gcc/libada as part of gcc-ada
Exclude it from gcc-core
Let me know if I forgot something.
--
Index: install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.257
diff -u -p -r1.257 install.texi
--- install.texi 6 Feb 2004 01:14:31 -0000 1.257
+++ install.texi 10 Feb 2004 11:27:58 -0000
@@ -1028,6 +1028,12 @@ sub-tree will be configured. Re-definin
@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; i
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,13 +1461,7 @@ following commands (assuming @command{ma
@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
Index: sourcebuild.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/sourcebuild.texi,v
retrieving revision 1.40
diff -u -p -r1.40 sourcebuild.texi
--- sourcebuild.texi 6 Feb 2004 01:14:32 -0000 1.40
+++ sourcebuild.texi 10 Feb 2004 11:31:42 -0000
@@ -50,6 +50,9 @@ language front ends, and test suites. @
@item include
Headers for the @code{libiberty} library.
+@item libada
+The Ada runtime library.
+
@item libf2c
The Fortran runtime library.
Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.45
diff -u -p -r1.45 gcc_release
--- gcc_release 21 Jan 2004 22:25:02 -0000 1.45
+++ gcc_release 10 Feb 2004 11:21:43 -0000
@@ -479,7 +479,7 @@ SOURCE_DIRECTORY=""
# The directories that should be part of the various language-specific
# tar files. These are all relative to the top of the source tree.
-ADA_DIRS="gcc/ada"
+ADA_DIRS="gcc/ada libada"
CPLUSPLUS_DIRS="gcc/cp libstdc++-v3"
FORTRAN_DIRS="gcc/f libf2c"
JAVA_DIRS="gcc/java libjava libffi fastjar zlib boehm-gc"
Index: modules
===================================================================
RCS file: /cvs/gcc/CVSROOT/modules,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- modules 14 Feb 2003 01:11:15 -0000 1.22
+++ modules 10 Feb 2004 11:26:31 -0000 1.23
@@ -65,11 +65,12 @@ gcc-g++ -a \
gcc/libstdc++-v3
gcc-ada -a \
- gcc/gcc/ada
+ gcc/gcc/ada \
+ gcc/libada
gcc-core -a \
!gcc/gcc/testsuite \
- !gcc/gcc/ada \
+ !gcc/gcc/ada !gcc/libada \
!gcc/gcc/ch !gcc/libchill \
!gcc/gcc/cp !gcc/libstdc++ !gcc/libio !gcc/libstdc++-v3 \
!gcc/gcc/f !gcc/libf2c \