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
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,6 @@ include Config.x86_common
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
/*
* 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[])
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
......
......@@ -51,7 +51,7 @@ case $ARCH in
esac
case $OS in
FreeBSD*)
freebsd*)
EXECUTABLE=true
SCRIPT=FreeBSD
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment