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

Diff of /src/lisp/Config.ppc_darwin

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by rtoy, Sun Feb 6 19:43:15 2005 UTC revision 1.5.2.2 by rtoy, Mon Dec 19 01:10:11 2005 UTC
# Line 3  vpath %.h $(PATH1) Line 3  vpath %.h $(PATH1)
3  vpath %.c $(PATH1)  vpath %.c $(PATH1)
4  vpath %.S $(PATH1)  vpath %.S $(PATH1)
5  CPPFLAGS = -I. -I$(PATH1) -I/usr/X11R6/include  CPPFLAGS = -I. -I$(PATH1) -I/usr/X11R6/include
6  CC = gcc3  # 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  LD = ld
13  NM = $(PATH1)/darwin-nm  NM = $(PATH1)/darwin-nm
14  CPP = cpp -no-cpp-precomp  CPP = cpp -no-cpp-precomp
# Line 12  ifdef FEATURE_LINKAGE_TABLE Line 17  ifdef FEATURE_LINKAGE_TABLE
17  LINKAGE = -DLINKAGE_TABLE  LINKAGE = -DLINKAGE_TABLE
18  endif  endif
19    
20  CFLAGS = -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE)  # Enable support for generational GC
21  ASFLAGS = -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE)  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 &  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
30  ASSEM_SRC = ppc-assem.S linux-stubs.S  ASSEM_SRC = ppc-assem.S linux-stubs.S
# Line 27  OS_SRC = ppc-darwin-dlshim.c os-common.c Line 38  OS_SRC = ppc-darwin-dlshim.c os-common.c
38    
39  OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000  OS_LINK_FLAGS = -g -dynamic -Wl,-sectcreate,CMUCLRO,core,/dev/null -Wl,-segaddr,CMUCLRO,0x01000000 -Wl,-seg1addr,0x1a000000
40  OS_LIBS = -lSystem -lc -lm  OS_LIBS = -lSystem -lc -lm
 GC_SRC = gc.c  
41  all: adjustlisp  all: adjustlisp
42  adjustlisp: lisp darwin-lispadjuster  adjustlisp: lisp darwin-lispadjuster
43          ./darwin-lispadjuster lisp          ./darwin-lispadjuster lisp

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.5.2.2

  ViewVC Help
Powered by ViewVC 1.1.5