/[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.12 - (show annotations)
Wed Feb 27 23:30:46 2008 UTC (6 years, 1 month ago) by cshapiro
Branch: MAIN
CVS Tags: snapshot-2008-08, snapshot-2008-09, sse2-packed-2008-11-12, snapshot-2008-05, snapshot-2008-06, snapshot-2008-07, snapshot-2008-03, sse2-base, sse2-packed-base, snapshot-2008-12, snapshot-2008-11, merge-sse2-packed, snapshot-2008-04, snapshot-2008-10, sse2-checkpoint-2008-10-01, sse2-merge-with-2008-11, sse2-merge-with-2008-10, unicode-utf16-string-support, unicode-utf16-base
Branch point for: sse2-packed-branch, unicode-utf16-branch, sse2-branch
Changes since 1.11: +1 -1 lines
Remove X11 from the search path for include files.
1 PATH1 = ../../src/lisp
2 vpath %.h $(PATH1)
3 vpath %.c $(PATH1)
4 vpath %.S $(PATH1)
5 CPPFLAGS = -I. -I$(PATH1)
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 LD = ld
13 NM = $(PATH1)/darwin-nm
14 CPP = cpp -no-cpp-precomp
15 DEPEND = $(CC) -MM
16 ifdef FEATURE_LINKAGE_TABLE
17 LINKAGE = -DLINKAGE_TABLE
18 endif
19
20 # 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
29 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 e_rem_pio2.c k_rem_pio2.c
33
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 # OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000
40 OS_LIBS = -lSystem -lc -lm
41 #all: adjustlisp
42 #adjustlisp: lisp darwin-lispadjuster
43 # ./darwin-lispadjuster lisp
44 #adjustlisp: lisp darwin-lispadjuster
45 # true
46
47 #darwin-lispadjuster: darwin-lispadjuster.c
48
49 # This has aliasing problems, so turn off aliasing.
50 e_rem_pio2.o : e_rem_pio2.c
51 $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $<

  ViewVC Help
Powered by ViewVC 1.1.5