------- Additional Comments From christian dot joensson at gmail dot com 2005-03-06 12:30 ------- Laurent Guerby suggested I use this in the gcc/ada/Makefile.in:
ifeq ($(strip $(filter-out sparc% linux%,$(arch) $(osys))),) LIBGNAT_TARGET_PAIRS = \ a-intnam.ads<a-intnam-linux.ads \ s-inmaop.adb<s-inmaop-posix.adb \ s-intman.adb<s-intman-posix.adb \ s-osinte.adb<s-osinte-posix.adb \ s-osinte.ads<s-osinte-linux.ads \ s-osprim.adb<s-osprim-posix.adb \ s-taprop.adb<s-taprop-linux.adb \ s-taspri.ads<s-taspri-linux.ads \ s-tpopsp.adb<s-tpopsp-posix-foreign.adb \ s-parame.adb<s-parame-linux.adb \ system.ads<system-linux-sparc.ads TOOLS_TARGET_PAIRS = \ mlib-tgt.adb<mlib-tgt-linux.adb \ indepsw.adb<indepsw-linux.adb THREADSLIB = -lpthread GNATLIB_SHARED = gnatlib-shared-dual GMEM_LIB = gmemlib PREFIX_OBJS = $(PREFIX_REAL_OBJS) LIBRARY_VERSION := $(LIB_VERSION) endif I also would like to have sparc64 in like this... Looking at the section that starts with ifeq ($(strip $(filter-out sparc sun solaris%,$(targ))),) I see quite a few "things" I'd like to see also ifeq ($(strip $(filter-out fsu FSU,$(THREAD_KIND))),) ifeq ($(strip $(filter-out pthread PTHREAD,$(THREAD_KIND))),) (or something similar, nptl maybe?) ifeq ($(strip $(filter-out m64,$(THREAD_KIND))),) (definately this too) Furthermore, as per Laurent's suggestion, the Tick in the first two attachments should rather be Tick : constant := 0.000_001; instead of Tick : constant := 0.01; Last, there's a line length error, line 8 in both attachments is two chars too long -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20035