Skip to content
Snippets Groups Projects
Commit 20f08ea9 authored by dtc's avatar dtc
Browse files

o Use linux-nm to allow the symbols to be tailored to this system,

  rather than hacking the main Makefile.
o Link with the --export-dynamic flag as this reportedly assists code
  that calls back into lisp.
o Cleanup of the Config files.
parent c38914d0
No related branches found
No related tags found
No related merge requests found
PATH1=../../src/lisp PATH1 = ../../src/lisp
vpath %.h $(PATH1) PATH2 = ../../p86/lisp
vpath %.c $(PATH1) vpath %.h $(PATH2):$(PATH1)
vpath %.S $(PATH1) vpath %.c $(PATH2):$(PATH1)
CPPFLAGS = -I. -I$(PATH1) -I- -I/usr/X11R6/include vpath %.S $(PATH2):$(PATH1)
CC = gcc -Wstrict-prototypes -O2 -fno-strength-reduce # -Wall CPPFLAGS = -I. -I$(PATH2) -I$(PATH1) -I- -I/usr/X11R6/include
CC = gcc
LD = ld LD = ld
CPP = cpp CPP = cpp
CFLAGS = -m486 -g -DWANT_CGC -O2 CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DWANT_CGC -m486
ASFLAGS = -g -DWANT_CGC ASFLAGS = -g -DWANT_CGC
NM = nm -p NM = $(PATH1)/linux-nm
UNDEFSYMPATTERN=-Xlinker -u -Xlinker & UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S linux-stubs.S ASSEM_SRC = x86-assem.S linux-stubs.S
ARCH_SRC = x86-arch.c ARCH_SRC = x86-arch.c
OS_SRC = Linux-os.c os-common.c OS_SRC = Linux-os.c os-common.c
OS_LINK_FLAGS= OS_LINK_FLAGS = -Xlinker --export-dynamic
#-static OS_LIBS = -ldl
OS_LIBS= -lm -ldl GC_SRC = cgc.c
GC_SRC= cgc.c
vpath %.h /usr/src/cmucl/cmucl/src/lisp/ PATH1 = ../../src/lisp
vpath %.c /usr/src/cmucl/cmucl/src/lisp/ PATH2 = ../../p86/lisp
vpath %.S /usr/src/cmucl/cmucl/src/lisp/ vpath %.h $(PATH2):$(PATH1)
CPPFLAGS = -I. -I/usr/src/cmucl/cmucl/src/lisp/ -I- -I/usr/X11R6/include vpath %.c $(PATH2):$(PATH1)
CC = gcc -Wstrict-prototypes -O2 -fno-strength-reduce # -Wall vpath %.S $(PATH2):$(PATH1)
CPPFLAGS = -I. -I$(PATH2) -I$(PATH1) -I- -I/usr/X11R6/include
CC = gcc
LD = ld LD = ld
CPP = cpp CPP = cpp
CFLAGS = -g -O2 -DGENCGC CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DGENCGC
ASFLAGS = -g -DGENCGC ASFLAGS = -g -DGENCGC
NM = nm -p NM = $(PATH1)/linux-nm
UNDEFSYMPATTERN=-Xlinker -u -Xlinker & UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
ASSEM_SRC = x86-assem.S linux-stubs.S ASSEM_SRC = x86-assem.S linux-stubs.S
ARCH_SRC = x86-arch.c ARCH_SRC = x86-arch.c
OS_SRC = Linux-os.c os-common.c OS_SRC = Linux-os.c os-common.c
OS_LINK_FLAGS= OS_LINK_FLAGS = -Xlinker --export-dynamic
OS_LIBS= -ldl OS_LIBS = -ldl
GC_SRC= gencgc.c GC_SRC = gencgc.c
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