X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FConfig.ppc-darwin;h=01ec5f61cf6901783058e3ca9eec89c9589a0aed;hb=5cd0fc84df83d1b3321b7fc969843207721de429;hp=8f8cc2e81cd0dd04c8617d24e0826a927e0f4ad5;hpb=ded744f74ab2f1a97679ad4f91e0eb8d995daef2;p=sbcl.git diff --git a/src/runtime/Config.ppc-darwin b/src/runtime/Config.ppc-darwin index 8f8cc2e..01ec5f6 100644 --- a/src/runtime/Config.ppc-darwin +++ b/src/runtime/Config.ppc-darwin @@ -1,20 +1,25 @@ # -*- makefile -*- -CFLAGS = -Dppc -g -Wall -O3 -no-cpp-precomp -OS_SRC = bsd-os.c os-common.c ppc-darwin-os.c ppc-darwin-dlshim.c +CFLAGS = -Dppc -g -Wall -O2 -no-cpp-precomp +OS_SRC = bsd-os.c os-common.c ppc-darwin-os.c ppc-darwin-dlshim.c ppc-darwin-langinfo.c OS_LIBS = -lSystem -lc -lm -# Avoid the gcc 3.3 prerelease tarpit of death! -CC = gcc3 +CC = gcc ASSEM_SRC = ppc-assem.S ldso-stubs.S ARCH_SRC = ppc-arch.c CPP = cpp -no-cpp-precomp -# FIXME - "-Wl,-segaddr,SBCLRO,0x1000000" is output from +# KLUDGE: in OS X 10.3, Apple started putting the heap right where we +# expect our read-only space mapped. This hack causes the linker to +# place a zero-fill-on-demand segment in the same place and size as +# read-only-space, which is the only thing capable of keeping malloc +# out of this range." +# +# FIXME: "-Wl,-segaddr,SBCLRO,0x1000000" is output from # ppc-darwin-mkrospace (it depends on READ_ONLY_SPACE I believe) but it # is hard-coded here! -OS_LINK_FLAGS = -dynamic -L$(HOME)/local/lib -L/sw/lib -L/opt/local/lib -L/usr/local/lib -Wl,-segaddr,SBCLRO,0x1000000 -Wl,-seg1addr,0x5000000 $(if $(AFTER_GROVEL_HEADERS),ppc-darwin-rospace.o) +OS_LINK_FLAGS = -dynamic -Wl,-segaddr,SBCLRO,0x1000000 -Wl,-seg1addr,0x5000000 $(if $(AFTER_GROVEL_HEADERS),ppc-darwin-rospace.o) GC_SRC= cheneygc.c