From: Doug Rupp Date: Tue, 15 Mar 2005 16:10:20 +0000 (+0100) Subject: re PR ada/6852 (gnatlib fails to build with newlib because it doesn't set up the... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73f0204748dd2267f80150edd8cf9fcdf768b571;p=gcc.git re PR ada/6852 (gnatlib fails to build with newlib because it doesn't set up the include path) 2005-03-08 Doug Rupp Bernard Banner Vincent Celier Arnaud Charlet 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 --- diff --git a/gcc/ada/Makefile.in b/gcc/ada/Makefile.in index 175fb0f2b21..59b6021fa46 100644 --- a/gcc/ada/Makefile.in +++ b/gcc/ada/Makefile.in @@ -1384,6 +1384,7 @@ ifeq ($(strip $(filter-out %ia64 linux%,$(arch) $(osys))),) MISCLIB= THREADSLIB=-lpthread GNATLIB_SHARED=gnatlib-shared-dual + GMEM_LIB = gmemlib PREFIX_OBJS=$(PREFIX_REAL_OBJS) LIBRARY_VERSION := $(LIB_VERSION) endif @@ -1427,7 +1428,10 @@ ifeq ($(strip $(filter-out %x86_64 linux%,$(arch) $(osys))),) s-taspri.ads