[Gd-chatter] r11575 - in trunk/fundev: . sources/dfmc/c-run-time

agent at gwydiondylan.org agent at gwydiondylan.org
Sat Dec 22 05:42:09 CET 2007


Author: agent
Date: Sat Dec 22 05:42:08 2007
New Revision: 11575

Modified:
   trunk/fundev/Makefile.in
   trunk/fundev/README.txt
   trunk/fundev/configure.ac
   trunk/fundev/sources/dfmc/c-run-time/Makefile.in
   trunk/fundev/sources/dfmc/c-run-time/c-linux-build.jam
   trunk/fundev/sources/dfmc/c-run-time/ppc-darwin-build.jam
   trunk/fundev/sources/dfmc/c-run-time/x86-darwin-build.jam
Log:
Job: fd
* Added --with-gc to configure; the value is placed in fundev/Makefile.
* Fixed check: target.
* Set appropriate environment variables for GC lib.
 


Modified: trunk/fundev/Makefile.in
==============================================================================
--- trunk/fundev/Makefile.in	(original)
+++ trunk/fundev/Makefile.in	Sat Dec 22 05:42:08 2007
@@ -174,7 +174,7 @@
 install: install-stage
 
 uninstall:
-	rm -rv $(prefix)
+	rm -r $(prefix)
 
 install-strip:
 
@@ -202,21 +202,23 @@
 	deuce-test-suite-app \
 	channels-tests
 
-check:	bootstrap-$(CHECK_STAGE)-stage
-	@OPEN_DYLAN_PLATFORM_NAME=$(fd_build) \
-	  OPEN_DYLAN_RELEASE_ROOT=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
-	  OPEN_DYLAN_RELEASE_INSTALL=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
-	  OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/logs \
-	  OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
-	  OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
-	  OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry:$(library_srcdir)/registry \
-	  OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources \
-	  OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/build \
-	  $(fdmake) --compiler="Bootstrap.$(CHECK_STAGE)/bin/minimal-console-compiler -build -save" \
-		$(CHECK_APPS)
-	for app in $(CHECK_APPS); do \
-	  ./Bootstrap.$(CHECK_STAGE)/bin/$$app; \
-	done
+CHECK-ENV = \
+	OPEN_DYLAN_PLATFORM_NAME=$(fd_build) \
+	OPEN_DYLAN_BUILD_LOGS=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/build/logs \
+	OPEN_DYLAN_USER_ROOT=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
+	OPEN_DYLAN_USER_INSTALL=$(abs_builddir)/Bootstrap.$(CHECK_STAGE) \
+	OPEN_DYLAN_USER_BUILD=$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/build \
+	OPEN_DYLAN_USER_REGISTRIES=$(abs_srcdir)/sources/registry:$(library_srcdir)/registry \
+	OPEN_DYLAN_USER_SOURCES=$(abs_srcdir)/sources
+
+check:	bootstrap-stage-$(CHECK_STAGE)
+	@$(CHECK-ENV) \
+	  $(fdmake) \
+	  --compiler="$(abs_builddir)/Bootstrap.$(CHECK_STAGE)/bin/minimal-console-compiler -build -save" \
+	  $(CHECK_APPS) && \
+	  for app in $(CHECK_APPS); do \
+	    $(abs_builddir)/Bootstrap.$(CHECK_STAGE)/bin/$$app; \
+	  done
 
 installcheck:
 

Modified: trunk/fundev/README.txt
==============================================================================
--- trunk/fundev/README.txt	(original)
+++ trunk/fundev/README.txt	Sat Dec 22 05:42:08 2007
@@ -81,17 +81,18 @@
 Open Dylan uses that instead of the MPS library. I used the following
 configure settings:
 
-  ./configure --disable-dependency-tracking --enable-parallel-mark 
+  ./configure --enable-parallel-mark --enable-threads=posix
     --enable-large-config --enable-gc-debug USE_I686_PREFETCH=1
 
 Download the Open Dylan source tree, containing this file and the "sources"
 directory, from SVN as described on http://www.opendylan.org/repository.phtml.
 
 In the directory of the downloaded source tree, run these commands (set the
-prefix to whatever you want):
+prefix to whatever you want, and set the correct path to the Boehm GC
+libraries):
 
   ./autogen.sh
-  ./configure --prefix=/usr/local/opendylan
+  ./configure --prefix=/usr/local/opendylan --with-gc=/usr/local/lib
   make
   sudo make install
 

Modified: trunk/fundev/configure.ac
==============================================================================
--- trunk/fundev/configure.ac	(original)
+++ trunk/fundev/configure.ac	Sat Dec 22 05:42:08 2007
@@ -72,6 +72,11 @@
                             [Path to MPS distribution and build.]))
 AC_SUBST(with_mps)
 
+AC_ARG_WITH(gc,
+            AC_HELP_STRING([--with-gc=PATH],
+			   [Path to Boehm GC libraries.]))
+AC_SUBST(with_gc)
+
 AC_ARG_WITH(library-source,
             AC_HELP_STRING([--with-library-source=PATH],
                            [Path to Dylan contributed libraries source.]))
@@ -95,6 +100,7 @@
 AC_SUBST(LIBRARY_PACKS)
 
 # for now, replace mps only in pentium-linux
+# gc is replaced in sources/dfmc/c-run-time
 AC_CONFIG_FILES(Makefile sources/lib/run-time/pentium-linux/Makefile sources/lib/run-time/pentium-freebsd/Makefile sources/dfmc/c-run-time/Makefile)
 
 AC_OUTPUT

Modified: trunk/fundev/sources/dfmc/c-run-time/Makefile.in
==============================================================================
--- trunk/fundev/sources/dfmc/c-run-time/Makefile.in	(original)
+++ trunk/fundev/sources/dfmc/c-run-time/Makefile.in	Sat Dec 22 05:42:08 2007
@@ -3,6 +3,7 @@
 srcdir		= @srcdir@
 top_srcdir	= @top_srcdir@
 top_builddir	= @top_builddir@
+gc_libdir	= @with_gc@
 
 runtime_srcdir	= $(top_srcdir)/sources/dfmc/c-run-time
 
@@ -19,7 +20,7 @@
 AS = as -L
 AR = ar -q
 
-CFLAGS		= -DGC_LINUX_THREADS=1 -D_REENTRANT=1 \
+CFLAGS		= -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DGC_DEBUG=1 \
 		  -O -g -DEXPIRATION=$(EXPIRATION) \
 		  -I$(srcdir) -I$(runtime_srcdir)
 

Modified: trunk/fundev/sources/dfmc/c-run-time/c-linux-build.jam
==============================================================================
--- trunk/fundev/sources/dfmc/c-run-time/c-linux-build.jam	(original)
+++ trunk/fundev/sources/dfmc/c-run-time/c-linux-build.jam	Sat Dec 22 05:42:08 2007
@@ -32,6 +32,8 @@
   HDRS ?= $(SYSTEM_INCDIR) ;
 }
 
+DEFINES += GC_LINUX_THREADS _REENTRANT ;
+
 #
 # Runtime
 #

Modified: trunk/fundev/sources/dfmc/c-run-time/ppc-darwin-build.jam
==============================================================================
--- trunk/fundev/sources/dfmc/c-run-time/ppc-darwin-build.jam	(original)
+++ trunk/fundev/sources/dfmc/c-run-time/ppc-darwin-build.jam	Sat Dec 22 05:42:08 2007
@@ -38,7 +38,7 @@
            -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants
            -fomit-frame-pointer -fPIC -g ;
 
-DEFINES += _POSIX_C_SOURCE ;
+DEFINES += _POSIX_C_SOURCE GC_DEBUG ;
 
 #
 # Runtime

Modified: trunk/fundev/sources/dfmc/c-run-time/x86-darwin-build.jam
==============================================================================
--- trunk/fundev/sources/dfmc/c-run-time/x86-darwin-build.jam	(original)
+++ trunk/fundev/sources/dfmc/c-run-time/x86-darwin-build.jam	Sat Dec 22 05:42:08 2007
@@ -38,7 +38,7 @@
            -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants
            -fomit-frame-pointer -fPIC -g ;
 
-DEFINES += _POSIX_C_SOURCE ;
+DEFINES += _POSIX_C_SOURCE GC_DEBUG ;
 
 #
 # Runtime



More information about the chatter mailing list