[Gd-chatter] r10838 - in branches/GD_2_4/src: . d2c/compiler

hannes at gwydiondylan.org hannes at gwydiondylan.org
Thu Jul 27 15:25:20 CEST 2006


Author: hannes
Date: Thu Jul 27 15:25:16 2006
New Revision: 10838

Modified:
   branches/GD_2_4/src/configure.in
   branches/GD_2_4/src/d2c/compiler/platforms.descr
Log:
Job: gd
* add support for macosX on intel
* port was done by Dwight Holman



Modified: branches/GD_2_4/src/configure.in
==============================================================================
--- branches/GD_2_4/src/configure.in	(original)
+++ branches/GD_2_4/src/configure.in	Thu Jul 27 15:25:16 2006
@@ -133,6 +133,11 @@
 	     4.*) $2=ppc-darwin-gcc4 ;;
 	     *)   $2=ppc-darwin-gcc ;;
 	esac ;;
+    i*86-apple-darwin*)
+	case `gcc -dumpversion` in
+	     4.*) $2=intel-darwin-gcc4 ;;
+	     *)   $2=intel-darwin-gcc ;;
+	esac ;;
     mips-sgi-irix*) $2=mips-irix-gcc ;;
     i*86-*-netbsd*) $2=x86-netbsd-gcc ;;
     *) $2=unknown-unix ;;

Modified: branches/GD_2_4/src/d2c/compiler/platforms.descr
==============================================================================
--- branches/GD_2_4/src/d2c/compiler/platforms.descr	(original)
+++ branches/GD_2_4/src/d2c/compiler/platforms.descr	Thu Jul 27 15:25:16 2006
@@ -716,6 +716,22 @@
 long-double-size:		16
 long-double-alignment:		16
 
+platform-name:                 intel-darwin-gcc
+inherit-from:                  gcc darwin x86
+default-c-compiler-flags:      -I. -I%s -O2 -fomit-frame-pointer -no-cpp-precomp -Wno-long-double
+default-c-compiler-debug-flags:        -I. -I%s -g -O -fno-inline-functions -no-cpp-precomp -Wno-long-double
+default-c-compiler-profile-flags:      -I. -I%s -pg -g -O -fno-inline-functions -no-cpp-precomp -Wno-long-double
+link-executable-flags:          $(GC_LIBS) -multiply_defined suppress         
+long-long-alignment:           4
+long-double-size:              16
+long-double-alignment:         16
+
+platform-name:                 intel-darwin-gcc4
+inherit-from:                  intel-darwin-gcc
+default-c-compiler-flags:      -I. -I%s -Os -fomit-frame-pointer -no-cpp-precomp -Wno-long-double
+long-double-size:              16
+long-double-alignment:         16
+
 // Douglas M. Auclair's cygnus port (doug at cotilliongroup.com)
 platform-name:			x86-cygnus-gcc
 inherit-from:			gcc x86 cygnus



More information about the chatter mailing list