forked from dmitryvk/sbcl-win32-threads
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tidied up OpenBSD-vs.-FreeBSD stuff, and src/runtime/Config.x86-*
- Loading branch information
William Harold Newman
committed
Oct 2, 2000
1 parent
3aba915
commit eaf8fba
Showing
8 changed files
with
48 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
CPPFLAGS = -I. | ||
|
||
CC = gcc -Wstrict-prototypes -fno-strength-reduce # -Wall | ||
LD = ld | ||
CPP = cpp | ||
CFLAGS = -g -O2 -DGENCGC -DPOSIX_SIGS | ||
ASFLAGS = -g -DGENCGC | ||
LINKFLAGS = -g | ||
NM = nm -gp | ||
# stuff shared between various *BSD OSes | ||
|
||
ASSEM_SRC = x86-assem.S | ||
ARCH_SRC = x86-arch.c | ||
|
||
OS_SRC = bsd-os.c os-common.c undefineds.c | ||
# Until version 0.6.7.3, we used "OS_LINK_FLAGS=-static" here, which | ||
# worked fine for most things, but LOAD-FOREIGN & friends require | ||
# dlopen() etc., which in turn depend on dynamic linking of the | ||
# runtime. | ||
#for OpenBSD: | ||
OS_LINK_FLAGS=-static | ||
#for FreeBSD: | ||
#OS_LINK_FLAGS=-dynamic -export-dynamic | ||
OS_LIBS=-lm # -ldl | ||
|
||
GC_SRC= gencgc.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include Config.x86-bsd | ||
|
||
# Until sbcl-0.6.7.3, we used "OS_LINK_FLAGS=-static" here, which | ||
# worked fine for most things, but LOAD-FOREIGN & friends require | ||
# dlopen() etc., which in turn depend on dynamic linking of the | ||
# runtime. | ||
OS_LINK_FLAGS = -dynamic -export-dynamic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
CPPFLAGS = -I. | ||
|
||
CC = gcc -Wstrict-prototypes -O2 -fno-strength-reduce # -Wall | ||
LD = ld | ||
CPP = cpp | ||
CFLAGS = -g -O2 -DGENCGC | ||
ASFLAGS = -g -DGENCGC | ||
LINKFLAGS = -g | ||
NM = nm -p | ||
|
||
ASSEM_SRC = x86-assem.S linux-stubs.S | ||
ARCH_SRC = x86-arch.c | ||
|
||
OS_SRC = linux-os.c os-common.c | ||
OS_LINK_FLAGS= | ||
OS_LIBS= -ldl | ||
OS_LINK_FLAGS = | ||
OS_LIBS = -ldl | ||
|
||
GC_SRC= gencgc.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
include Config.x86-bsd | ||
|
||
# KLUDGE: It might seem as though dynamic libraries should work the | ||
# same way on both systems, but in fact gcc supports the "-export-dynamic" | ||
# option on FreeBSD but not on OpenBSD. The documentation I've been | ||
# able to find doesn't seem to begin to explain what's going on (e.g. I | ||
# have never found documentation for the "-export-dynamic" option), | ||
# so I've just punted and left link flags for OpenBSD in their | ||
# pre-dynamic-library-support state. -- WHN 2000-10-02 | ||
OS_LINK_FLAGS = -static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters