ViewVC logotype

Contents of /src/lisp/Config.FreeBSD_gencgc

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.6 - (hide annotations)
Tue Aug 27 22:18:29 2002 UTC (11 years, 7 months ago) by moore
Branch: MAIN
Branch point for: UNICODE-BRANCH, cold-pcl
Changes since 1.5: +3 -3 lines
On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
They now go through a table -- effectively a new space in the core file.
Function references are resolved lazily, data references are resolved on startup
and when a .so is loaded.  The end result is that cores can be dumped that
contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.

The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
runtime.  Several foreign symbols are now Lisp static symbols, so a cross
compile is required whether or not the new stuff is used.  I've checked in
boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
a discussion on standardizing "cross compilation," not to mention the general
build procedure.
1 dtc 1.4 PATH1 = ../../src/lisp
2     PATH2 = ../../p86/lisp
3     vpath %.h $(PATH2):$(PATH1)
4     vpath %.c $(PATH2):$(PATH1)
5     vpath %.S $(PATH2):$(PATH1)
6     CPPFLAGS = -I. -I$(PATH2) -I$(PATH1) -I- -I/usr/X11R6/include
7     CC = gcc
8 dtc 1.1 LD = ld
9     CPP = cpp
10 moore 1.6 CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DGENCGC -DLINKAGE_TABLE
12 dtc 1.1 NM = nm -gp
13 dtc 1.4 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
14 moore 1.5 ASSEM_SRC = x86-assem.S linux-stubs.S
15 dtc 1.1 ARCH_SRC = x86-arch.c
16 moore 1.5 OS_SRC = FreeBSD-os.c os-common.c
17 moore 1.6 OS_LINK_FLAGS = -dynamic -export-dynamic
18 dtc 1.4 OS_LIBS =
19     GC_SRC = gencgc.c

  ViewVC Help
Powered by ViewVC 1.1.5