CMUCL commit: src (3 files)

Alex Goncharov agoncharov at common-lisp.net
Sun Aug 1 14:32:11 CEST 2010


    Date: Sunday, August 1, 2010 @ 08:32:11
  Author: agoncharov
    Path: /project/cmucl/cvsroot/src

Modified: lisp/Config.x86_freebsd lisp/lisp.c tools/make-main-dist.sh

EXECUTABLE for FreeBSD; plus add libmd to the build


-------------------------+
 lisp/Config.x86_freebsd |    4 +++-
 lisp/lisp.c             |    6 +++---
 tools/make-main-dist.sh |    2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)


Index: src/lisp/Config.x86_freebsd
diff -u src/lisp/Config.x86_freebsd:1.4 src/lisp/Config.x86_freebsd:1.5
--- src/lisp/Config.x86_freebsd:1.4	Mon Jan 19 23:52:47 2009
+++ src/lisp/Config.x86_freebsd	Sun Aug  1 08:32:11 2010
@@ -4,4 +4,6 @@
 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
 OS_SRC += FreeBSD-os.c elf.c
 OS_LINK_FLAGS = -dynamic -export-dynamic
-OS_LIBS = -lutil
+OS_LIBS = -lutil -lmd
+
+EXEC_FINAL_OBJ = exec-final.o
Index: src/lisp/lisp.c
diff -u src/lisp/lisp.c:1.74 src/lisp/lisp.c:1.75
--- src/lisp/lisp.c:1.74	Fri Jul 30 21:07:15 2010
+++ src/lisp/lisp.c	Sun Aug  1 08:32:11 2010
@@ -1,7 +1,7 @@
 /*
  * main() entry point for a stand alone lisp image.
  *
- * $Header: /project/cmucl/cvsroot/src/lisp/lisp.c,v 1.74 2010-07-31 01:07:15 rtoy Exp $
+ * $Header: /project/cmucl/cvsroot/src/lisp/lisp.c,v 1.75 2010-08-01 12:32:11 agoncharov Exp $
  *
  */
 
@@ -439,8 +439,8 @@
     lispobj initial_function = 0;
 
     if (builtin_image_flag != 0) {
-#if defined(sparc) || (defined(i386) && (defined(__linux__) || defined(DARWIN)))
-      initial_function = (lispobj) initial_function_addr;
+#if defined(sparc) || (defined(i386) && (defined(__linux__) || defined(DARWIN) || defined(__FreeBSD__)))
+        initial_function = (lispobj) initial_function_addr;
 #else
         initial_function = (lispobj) & initial_function_addr;
 #endif
Index: src/tools/make-main-dist.sh
diff -u src/tools/make-main-dist.sh:1.24 src/tools/make-main-dist.sh:1.25
--- src/tools/make-main-dist.sh:1.24	Fri Jul 30 20:20:20 2010
+++ src/tools/make-main-dist.sh	Sun Aug  1 08:32:11 2010
@@ -51,7 +51,7 @@
 esac
 
 case $OS in
-  FreeBSD*)	
+  freebsd*)	
       EXECUTABLE=true
       SCRIPT=FreeBSD
       ;;



More information about the cmucl-commit mailing list