[Gd-chatter] r11621 - in trunk/gwydion: . d2c/compiler d2c/runtime/garbage-collection tools/shared-misc

agent at gwydiondylan.org agent at gwydiondylan.org
Mon Jan 14 05:34:39 CET 2008


Author: agent
Date: Mon Jan 14 05:34:36 2008
New Revision: 11621

Modified:
   trunk/gwydion/configure.in
   trunk/gwydion/d2c/compiler/platforms.descr
   trunk/gwydion/d2c/runtime/garbage-collection/garbage-collection.dylan
   trunk/gwydion/tools/shared-misc/gen-makefile.in
Log:
Job: gd
* Added -D_POSIX_C_SOURCE build flags for Melange on Darwin.
* Boehm GC 7.0 compatibility.
* Removed -fomit-frame-pointer build flag to allow stack traces on x86.


Modified: trunk/gwydion/configure.in
==============================================================================
--- trunk/gwydion/configure.in	(original)
+++ trunk/gwydion/configure.in	Mon Jan 14 05:34:36 2008
@@ -444,7 +444,7 @@
 AC_ARG_WITH(gc-prefix, [  --with-gc-prefix=PFX    Prefix where Boehm gc is installed],
             gc_prefix="$withval", gc_prefix="")
 if test "x$gc_prefix" != x; then
-  GC_CFLAGS="-I$gc_prefix/include"
+  GC_CFLAGS="-I$gc_prefix/include -I$gc_prefix/include/gc"
   GC_LIBS="-L$gc_prefix/lib -lgc $GC_LIBS"
 else
   GC_LIBS="-lgc $GC_LIBS"

Modified: trunk/gwydion/d2c/compiler/platforms.descr
==============================================================================
--- trunk/gwydion/d2c/compiler/platforms.descr	(original)
+++ trunk/gwydion/d2c/compiler/platforms.descr	Mon Jan 14 05:34:36 2008
@@ -446,7 +446,7 @@
 
 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-flags:      -I. -I%s -O2 -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         
@@ -456,7 +456,7 @@
 
 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
+default-c-compiler-flags:      -I. -I%s -Os -no-cpp-precomp -Wno-long-double
 long-double-size:              16
 long-double-alignment:         16
 

Modified: trunk/gwydion/d2c/runtime/garbage-collection/garbage-collection.dylan
==============================================================================
--- trunk/gwydion/d2c/runtime/garbage-collection/garbage-collection.dylan	(original)
+++ trunk/gwydion/d2c/runtime/garbage-collection/garbage-collection.dylan	Mon Jan 14 05:34:36 2008
@@ -57,15 +57,6 @@
   value;
 end method GC-all-interior-pointers-setter;
 
-define sealed method GC-quiet () => (result :: <integer>);
-  as(<integer>, c-variable(int: "&GC_quiet"));
-end method GC-quiet;
-
-define sealed method GC-quiet-setter (value :: <integer>) => (result :: <integer>);
-  c-variable(int: "&GC_quiet") := value;
-  value;
-end method GC-quiet-setter;
-
 define sealed method GC-finalize-on-demand () => (result :: <integer>);
   as(<integer>, c-variable(int: "&GC_finalize_on_demand"));
 end method GC-finalize-on-demand;

Modified: trunk/gwydion/tools/shared-misc/gen-makefile.in
==============================================================================
--- trunk/gwydion/tools/shared-misc/gen-makefile.in	(original)
+++ trunk/gwydion/tools/shared-misc/gen-makefile.in	Mon Jan 14 05:34:36 2008
@@ -501,9 +501,9 @@
 
         print <<EOF;
 D2C = $D2C
-D2CFLAGS = $D2CFLAGS
-CFLAGS = $CFLAGS
-CPPFLAGS = $CPPFLAGS $debug_platform_name
+D2CFLAGS = $D2CFLAGS -D_POSIX_C_SOURCE
+CFLAGS = $CFLAGS -D_POSIX_C_SOURCE
+CPPFLAGS = $CPPFLAGS $debug_platform_name -D_POSIX_C_SOURCE
 COPTS = $COPTS
 MELANGE = $MELANGE
 PARSERGEN = $PARSERGEN



More information about the chatter mailing list