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

Diff of /src/lisp/Config.FreeBSD_gencgc

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

revision 1.15.2.2 by rtoy, Sat Nov 1 22:40:36 2008 UTC revision 1.15.2.3 by rtoy, Thu Dec 18 21:50:19 2008 UTC
# Line 3  PATH1 = ../../src/lisp Line 3  PATH1 = ../../src/lisp
3  vpath %.h $(PATH1)  vpath %.h $(PATH1)
4  vpath %.c $(PATH1)  vpath %.c $(PATH1)
5  vpath %.S $(PATH1)  vpath %.S $(PATH1)
6    
7  CC = gcc  CC = gcc
8  LD = ld  LD = ld
9  CPP = cpp  CPP = cpp
10  ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))  
11  CPPFLAGS = -I. -I$(PATH1) -I-  # Enable support for :linkage-table feature.
12    ifdef FEATURE_LINKAGE_TABLE
13    LINKAGE = -DLINKAGE_TABLE
14    endif
15    
16    # Enable support for generational GC
17    ifdef FEATURE_GENCGC
18    GENCGC = -DGENCGC
19    GC_SRC = gencgc.c
20    endif
21    
22    # Enable support for SSE2.  If FEATURE_X87 is set, we want SSE2
23    # support in the C code too so that the same binary is built in both
24    # cases.  If neither is set, then we don't want any SSE2 support at
25    # all.
26    ifdef FEATURE_X87
27    SSE2 = -DFEATURE_SSE2
28  else  else
29  CPPFLAGS = -iquote . -iquote $(PATH1)  ifdef FEATURE_SSE2
30    SSE2 = -DFEATURE_SSE2
31    endif
32  endif  endif
33    
34    
35  # Enable support for Unicode  # Enable support for Unicode
36  ifdef FEATURE_UNICODE  ifdef FEATURE_UNICODE
37  UNICODE = -DUNICODE  UNICODE = -DUNICODE
38  endif  endif
39    
40  CFLAGS = -Wstrict-prototypes -Wall -O2 -g -DGENCGC -DLINKAGE_TABLE $(UNICODE)  RUNTIME = -Di386 $(GENCGC) $(LINKAGE) $(SSE2) $(UNICODE)
41  ASFLAGS = -g -DGENCGC -DLINKAGE_TABLE  
42    ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))
43    CPPFLAGS = -I. -I$(PATH1) -I-
44    else
45    CPPFLAGS = -iquote . -iquote $(PATH1)
46    endif
47    
48    CPPFLAGS += $(RUNTIME)
49    
50    CFLAGS = -Wstrict-prototypes -Wall -O2 -g
51    ASFLAGS = -g
52  NM = nm -gp  NM = nm -gp
53  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &  UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
54  ASSEM_SRC = x86-assem.S  ASSEM_SRC = x86-assem.S
# Line 26  ARCH_SRC = x86-arch.c Line 56  ARCH_SRC = x86-arch.c
56  OS_SRC = FreeBSD-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c undefineds.c  OS_SRC = FreeBSD-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c undefineds.c
57  OS_LINK_FLAGS = -dynamic -export-dynamic  OS_LINK_FLAGS = -dynamic -export-dynamic
58  OS_LIBS = -lutil  OS_LIBS = -lutil
 GC_SRC = gencgc.c  
59    
60  # This has aliasing problems, so turn off aliasing.  # This has aliasing problems, so turn off aliasing.
61  e_rem_pio2.o : e_rem_pio2.c  e_rem_pio2.o : e_rem_pio2.c

Legend:
Removed from v.1.15.2.2  
changed lines
  Added in v.1.15.2.3

  ViewVC Help
Powered by ViewVC 1.1.5