X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FGNUmakefile;h=7b8159cf596d81615e26faa44094f0730993cd32;hb=59f7d9254f3601cfd48f0c299d5c30562111e991;hp=a8c4e7983a52754b3ac76635872bd850c6e070ed;hpb=8fc5fda05f92d69c95b47e4ad7561d91dab18c3e;p=sbcl.git diff --git a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile index a8c4e79..7b8159c 100644 --- a/src/runtime/GNUmakefile +++ b/src/runtime/GNUmakefile @@ -12,20 +12,38 @@ all: sbcl sbcl.nm .PHONY: all -# defaults which might be overridden by values in the Config file -CC = gcc +# defaults which might be overridden or modified by values in the +# Config file +# +# FIXME: The -fno-strength-reduce flag comes from before the fork +# from CMU CL. It's presumably to work around some optimizer bug in gcc, +# but the fork was a long time ago, and the optimizer could easily +# have been fixed since then. Try doing without it. +# CFLAGS = -g -Wall -O2 -fno-strength-reduce -DGENCGC +CFLAGS = -g -Wall -O3 -DGENCGC +ASFLAGS = -g -DGENCGC DEPEND_FLAGS = +CPPFLAGS = -I. # The Config file is the preferred place for tweaking options which -# are appropriate for particular setups (OS, CPU, whatever). Make -# a Config-foo file for setup foo, then set Config to be a symlink -# to Config-foo. +# are appropriate for particular setups (OS, CPU, whatever). Make a +# Config-foo file for setup foo, then arrange for Config to be a +# symlink to Config-foo. include Config +# Some of these things might be Config-dependent in future versions, +# but they're not right now, i.e., they happen to be the same for +# all supported systems. +CPP = cpp +GC_SRC = gencgc.c +LD = ld +LINKFLAGS = -g +NM = nm -gp + SRCS = alloc.c backtrace.c breakpoint.c coreparse.c \ dynbind.c globals.c interr.c interrupt.c \ monitor.c parse.c print.c purify.c \ - regnames.c runprog.c runtime.c save.c search.c \ + regnames.c run-program.c runtime.c save.c search.c \ time.c validate.c vars.c \ ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC}