Paste number 54174: Gwydion build fixes for OS X 10.5.1 x86

Paste number 54174: Gwydion build fixes for OS X 10.5.1 x86
Pasted by: |Agent
8 months, 4 weeks ago
#dylan | Context in IRC logs
Paste contents:
Raw Source | XML | Display As
Index: configure.in
===================================================================
--- configure.in        (revision 11620)
+++ configure.in        (working copy)
@@ -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"
Index: tools/shared-misc/gen-makefile.in
===================================================================
--- tools/shared-misc/gen-makefile.in        (revision 11620)
+++ tools/shared-misc/gen-makefile.in        (working copy)
@@ -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
Index: d2c/runtime/garbage-collection/garbage-collection.dylan
===================================================================
--- d2c/runtime/garbage-collection/garbage-collection.dylan        (revision 11620)
+++ d2c/runtime/garbage-collection/garbage-collection.dylan        (working copy)
@@ -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;
Index: d2c/compiler/platforms.descr
===================================================================
--- d2c/compiler/platforms.descr        (revision 11620)
+++ d2c/compiler/platforms.descr        (working copy)
@@ -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
 

This paste has no annotations.

Colorize as:
Show Line Numbers

Ads absolutely not by Google

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.