/[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.12.2.1 by rtoy, Fri May 23 11:02:18 2008 UTC revision 1.12.2.1.2.1 by rtoy, Wed Mar 18 15:37:29 2009 UTC
# Line 4  vpath %.h $(PATH1) Line 4  vpath %.h $(PATH1)
4  vpath %.c $(PATH1)  vpath %.c $(PATH1)
5  vpath %.S $(PATH1)  vpath %.S $(PATH1)
6  CPPFLAGS = -I. -I$(PATH1)  CPPFLAGS = -I. -I$(PATH1)
7    
8  # For Mac OS X 10.2, gcc3 is appropriate.  For 10.4, gcc (gcc 4.0) is ok.  But  # For Mac OS X 10.2, gcc3 is appropriate.  For 10.4, gcc (gcc 4.0) is ok.  But
9  # this means -traditional is needed because gcc 4 seems to handle '##'  # this means -traditional is needed because gcc 4 seems to handle '##'
10  # differently from gcc-3.3.  I (rtoy) don't know which is right, but I  # differently from gcc-3.3.  I (rtoy) don't know which is right, but I
11  # think gcc 4 is wrong.  However, to work around this, we use /**/ to  # think gcc 4 is wrong.  However, to work around this, we use /**/ to
12  # concatenate tokens which reguires the -traditional flag.  # concatenate tokens which reguires the -traditional flag.
13    
14    # Build for OSX 10.2.8 or later.  (Is this what we want?)
15    #OSX_VERSION=-mmacosx-version-min=10.2
16  CC = gcc  CC = gcc
17  LD = ld  LD = ld
18  NM = $(PATH1)/darwin-nm  NM = $(PATH1)/darwin-nm
# Line 28  endif Line 32  endif
32  # Enable support for Unicode  # Enable support for Unicode
33  ifdef FEATURE_UNICODE  ifdef FEATURE_UNICODE
34  UNICODE = -DUNICODE  UNICODE = -DUNICODE
 GC_SRC = gencgc.c  
35  endif  endif
36    
37  CFLAGS = -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC) $(UNICODE)  CFLAGS = $(OSX_VERSION) -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC) $(UNICODE)
38  ASFLAGS = -traditional -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC)  ASFLAGS = $(OSX_VERSION) -traditional -g -O3 -no-cpp-precomp -DDARWIN -Dppc $(LINKAGE) $(GENCGC)
39    
40  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
41  ASSEM_SRC = ppc-assem.S linux-stubs.S  ASSEM_SRC = ppc-assem.S linux-stubs.S
# Line 45  OS_SRC = ppc-darwin-dlshim.c os-common.c Line 48  OS_SRC = ppc-darwin-dlshim.c os-common.c
48  # the C runtime code goes, I think.  # the C runtime code goes, I think.
49    
50  # 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
51    OS_LINK_FLAGS = $(OSX_VERSION)
52  OS_LIBS = -lSystem -lc -lm  OS_LIBS = -lSystem -lc -lm
53  #all: adjustlisp  #all: adjustlisp
54  #adjustlisp: lisp darwin-lispadjuster  #adjustlisp: lisp darwin-lispadjuster

Legend:
Removed from v.1.12.2.1  
changed lines
  Added in v.1.12.2.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.5