/[cmucl]/src/lisp/Config.ppc_darwin
ViewVC logotype

Contents of /src/lisp/Config.ppc_darwin

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Wed Oct 20 11:30:47 2004 UTC (9 years, 5 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2004-12, snapshot-2004-11, snapshot-2005-01, snapshot-2005-02
Changes since 1.3: +1 -1 lines
Move the static space location for ppc/darwin.  For some reason, OS X
10.3 was putting some malloc'ed areas in the old (bigger) static
space, which causes cmucl not to run.  Moving the space to 0x10000000
makes it no longer overlap.  I don't understand the reason for this.
OS X 10.2 doesn't have this problem.

Use boot-2004-10-1-ppc.lisp to cross-compile this change.
1 PATH1 = ../../src/lisp
2 vpath %.h $(PATH1)
3 vpath %.c $(PATH1)
4 vpath %.S $(PATH1)
5 CPPFLAGS = -I. -I$(PATH1) -I/usr/X11R6/include
6 CC = gcc3
7 LD = ld
8 NM = $(PATH1)/darwin-nm
9 CPP = cpp -no-cpp-precomp
10 DEPEND = $(CC) -MM
11 CFLAGS = -g -O3 -no-cpp-precomp -DDARWIN -Dppc
12 ASFLAGS = -g -O3 -no-cpp-precomp -DDARWIN -Dppc
13 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
14 ASSEM_SRC = ppc-assem.S linux-stubs.S
15 ARCH_SRC = ppc-arch.c
16 OS_SRC = ppc-darwin-dlshim.c os-common.c Darwin-os.c
17
18 # I (rtoy) am not exactly sure what these values are, but it seems
19 # that the segaddr for CMUCLRO should be the READ_ONLY_SPACE_START.
20 # The seg1addr should be somewhere above our spaces. This is where
21 # the C runtime code goes, I think.
22
23 OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000
24 OS_LIBS = -lSystem -lc -lm
25 GC_SRC = gc.c
26 all: adjustlisp
27 adjustlisp: lisp darwin-lispadjuster
28 ./darwin-lispadjuster lisp
29 darwin-lispadjuster: darwin-lispadjuster.c

  ViewVC Help
Powered by ViewVC 1.1.5