re PR ada/6852 (gnatlib fails to build with newlib because it doesn't set up the...
authorDoug Rupp <rupp@adacore.com>
Tue, 15 Mar 2005 16:10:20 +0000 (17:10 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Mar 2005 16:10:20 +0000 (17:10 +0100)
commit73f0204748dd2267f80150edd8cf9fcdf768b571
treeaf7cdc7367a6d17730c5cb2c20ba60cc44585da7
parent9c2d872c6a923bf0ae86c6e0576041fba6e529b9
re PR ada/6852 (gnatlib fails to build with newlib because it doesn't set up the include path)

2005-03-08  Doug Rupp  <rupp@adacore.com>
    Bernard Banner  <banner@adacore.com>
    Vincent Celier  <celier@adacore.com>
    Arnaud Charlet  <charlet@adacore.com>

PR ada/6852
This change works fine when gnatlib is built from the gcc directory,
but does not work when using the libada Makefile, since GCC_FOR_TARGET
is not passed to ada/Makefile.in, so more work is needed by a
Makefile/configure expert.

* Makefile.in(gnatlib): Use $(GCC_FOR_TARGET) for compiling library.
set GMEM_LIB on ia64 linux to add optional support for gnatmem.
Setup gnatlink switch -M for x86_64 linux, as it is already setup
for Linux x86.
(gnatlib-shared-default): Use GNATLIBCFLAGS as well.
Run ranlib on libgccprefix.a
Define PREFIX_OBJS for Darwin, to build libgccprefix.
(ADA_INCLUDE_SRCS): Split Ada packages.

From-SVN: r96500
gcc/ada/Makefile.in