Skip to content
Snippets Groups Projects
Commit 2a064d24 authored by agoncharov's avatar agoncharov
Browse files

EXECUTABLE for FreeBSD; plus add libmd to the build

parent 16418531
Branches
Tags
No related merge requests found
...@@ -4,4 +4,6 @@ include Config.x86_common ...@@ -4,4 +4,6 @@ include Config.x86_common
UNDEFSYMPATTERN = -Xlinker -u -Xlinker & UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
OS_SRC += FreeBSD-os.c elf.c OS_SRC += FreeBSD-os.c elf.c
OS_LINK_FLAGS = -dynamic -export-dynamic OS_LINK_FLAGS = -dynamic -export-dynamic
OS_LIBS = -lutil OS_LIBS = -lutil -lmd
EXEC_FINAL_OBJ = exec-final.o
/* /*
* main() entry point for a stand alone lisp image. * main() entry point for a stand alone lisp image.
* *
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.74 2010/07/31 01:07:15 rtoy Exp $ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.75 2010/08/01 12:32:11 agoncharov Exp $
* *
*/ */
...@@ -439,8 +439,8 @@ main(int argc, const char *argv[], const char *envp[]) ...@@ -439,8 +439,8 @@ main(int argc, const char *argv[], const char *envp[])
lispobj initial_function = 0; lispobj initial_function = 0;
if (builtin_image_flag != 0) { if (builtin_image_flag != 0) {
#if defined(sparc) || (defined(i386) && (defined(__linux__) || defined(DARWIN))) #if defined(sparc) || (defined(i386) && (defined(__linux__) || defined(DARWIN) || defined(__FreeBSD__)))
initial_function = (lispobj) initial_function_addr; initial_function = (lispobj) initial_function_addr;
#else #else
initial_function = (lispobj) & initial_function_addr; initial_function = (lispobj) & initial_function_addr;
#endif #endif
......
...@@ -51,7 +51,7 @@ case $ARCH in ...@@ -51,7 +51,7 @@ case $ARCH in
esac esac
case $OS in case $OS in
FreeBSD*) freebsd*)
EXECUTABLE=true EXECUTABLE=true
SCRIPT=FreeBSD SCRIPT=FreeBSD
;; ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment