/[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.7 - (hide annotations)
Wed Jan 18 15:21:26 2006 UTC (8 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: double-double-array-base, double-double-init-sparc-2, double-double-base, double-double-init-sparc, double-double-init-ppc, double-double-init-%make-sparc, double-double-array-checkpoint, double-double-reader-checkpoint-1, double-double-irrat-end, double-double-init-checkpoint-1, double-double-reader-base, double-double-init-x86, double-double-sparc-checkpoint-1, double-double-irrat-start, snapshot-2006-02, snapshot-2006-03, snapshot-2006-06, snapshot-2006-07, snapshot-2006-04, snapshot-2006-05
Branch point for: double-double-reader-branch, double-double-array-branch, double-double-branch
Changes since 1.6: +8 -3 lines
Merge ppc_gencgc_branch to HEAD.
1 pmai 1.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 rtoy 1.6 # For Mac OS X 10.2, gcc3 is appropriate. For 10.4, gcc (gcc 4.0) is ok. But
7     # this means -traditional is needed because gcc 4 seems to handle '##'
8     # differently from gcc-3.3. I (rtoy) don't know which is right, but I
9     # think gcc 4 is wrong. However, to work around this, we use /**/ to
10     # concatenate tokens which reguires the -traditional flag.
11     CC = gcc
12 pmai 1.1 LD = ld
13 rtoy 1.2 NM = $(PATH1)/darwin-nm
14 pmai 1.1 CPP = cpp -no-cpp-precomp
15     DEPEND = $(CC) -MM
16 rtoy 1.5 ifdef FEATURE_LINKAGE_TABLE
17     LINKAGE = -DLINKAGE_TABLE
18     endif
19    
20 rtoy 1.7 # Enable support for generational GC
21     ifdef FEATURE_GENCGC
22     GENCGC = -DGENCGC
23     GC_SRC = gencgc.c
24     endif
25    
26     CFLAGS = -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC)
27     ASFLAGS = -traditional -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC)
28 rtoy 1.5
29 pmai 1.1 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
30     ASSEM_SRC = ppc-assem.S linux-stubs.S
31     ARCH_SRC = ppc-arch.c
32     OS_SRC = ppc-darwin-dlshim.c os-common.c Darwin-os.c
33 rtoy 1.3
34     # I (rtoy) am not exactly sure what these values are, but it seems
35     # that the segaddr for CMUCLRO should be the READ_ONLY_SPACE_START.
36     # The seg1addr should be somewhere above our spaces. This is where
37     # the C runtime code goes, I think.
38    
39 rtoy 1.4 OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000
40 pmai 1.1 OS_LIBS = -lSystem -lc -lm
41     all: adjustlisp
42     adjustlisp: lisp darwin-lispadjuster
43     ./darwin-lispadjuster lisp
44     darwin-lispadjuster: darwin-lispadjuster.c

  ViewVC Help
Powered by ViewVC 1.1.5