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

Contents of /src/lisp/Config.linux_gencgc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.26 - (show annotations)
Thu Jun 11 16:04:01 2009 UTC (4 years, 10 months ago) by rtoy
Branch: MAIN
CVS Tags: sparc-tramp-assem-base, post-merge-intl-branch, merged-unicode-utf16-extfmt-2009-06-11, intl-branch-working-2010-02-19-1000, unicode-string-buffer-impl-base, release-20b-pre1, release-20b-pre2, unicode-string-buffer-base, sparc-tramp-assem-2010-07-19, amd64-dd-start, intl-2-branch-base, GIT-CONVERSION, cross-sol-x86-merged, intl-branch-working-2010-02-11-1000, RELEASE_20b, release-20a-base, cross-sol-x86-base, snapshot-2010-12, snapshot-2010-11, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, pre-merge-intl-branch, snapshot-2010-05, snapshot-2010-04, snapshot-2010-07, snapshot-2010-06, snapshot-2010-01, snapshot-2010-03, snapshot-2010-02, snapshot-2010-08, cross-sol-x86-2010-12-20, intl-branch-2010-03-18-1300, RELEASE_20a, release-20a-pre1, snapshot-2009-11, snapshot-2009-12, portable-clx-import-2009-06-16, cross-sparc-branch-base, intl-branch-base, portable-clx-base, snapshot-2009-08, snapshot-2009-07, HEAD
Branch point for: portable-clx-branch, cross-sparc-branch, RELEASE-20B-BRANCH, unicode-string-buffer-branch, sparc-tramp-assem-branch, RELEASE-20A-BRANCH, amd64-dd-branch, unicode-string-buffer-impl-branch, intl-branch, cross-sol-x86-branch, intl-2-branch
Changes since 1.25: +5 -0 lines
Merge Unicode work to trunk.  From label
unicode-utf16-extfmt-2009-06-11.
1 # -*- Mode: makefile -*-
2 PATH1 = ../../src/lisp
3 vpath %.h $(PATH1)
4 vpath %.c $(PATH1)
5 vpath %.S $(PATH1)
6 CC ?= gcc
7 LD = ld
8 CPP = cpp
9
10
11 RUNTIME += -m32 -Di386
12
13 # Enable support for :linkage-table feature.
14 ifdef FEATURE_LINKAGE_TABLE
15 RUNTIME += -DLINKAGE_TABLE
16 endif
17
18 # Enable support for generational GC
19 ifdef FEATURE_GENCGC
20 RUNTIME += -DGENCGC
21 GC_SRC = gencgc.c
22 endif
23
24 # Enable support for SSE2. If FEATURE_X87 is set, we want SSE2
25 # support in the C code too so that the same binary is built in both
26 # cases. If neither is set, then we don't want any SSE2 support at
27 # all.
28 ifdef FEATURE_X87
29 RUNTIME += -DFEATURE_SSE2
30 else
31 ifdef FEATURE_SSE2
32 RUNTIME += -DFEATURE_SSE2
33 endif
34 endif
35
36 # Enable support for Unicode
37 ifdef FEATURE_UNICODE
38 RUNTIME += -DUNICODE
39 endif
40
41 # __NO_CTYPE so builds on glibc 2.3 will run on (some) older glibc's.
42 ifneq (,$(filter 2% 3%, $(shell $(CC) -dumpversion)))
43 CPPFLAGS = -D__NO_CTYPE -D_GNU_SOURCE -I. -I$(PATH1) -I- $(RUNTIME)
44 else
45 CPPFLAGS = -D__NO_CTYPE -D_GNU_SOURCE -iquote. -iquote $(PATH1) $(RUNTIME)
46 endif
47
48 CFLAGS += -rdynamic -Wstrict-prototypes -Wall -O2 -g $(RUNTIME)
49 ASFLAGS = -g $(RUNTIME)
50 NM = $(PATH1)/linux-nm
51 UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
52 ASSEM_SRC = x86-assem.S linux-stubs.S
53 ARCH_SRC = x86-arch.c
54 OS_SRC = Linux-os.c os-common.c elf.c e_rem_pio2.c k_rem_pio2.c
55 OS_LINK_FLAGS = -m32 -rdynamic -Xlinker --export-dynamic -Xlinker -Map -Xlinker foo
56 OS_LIBS = -ldl
57 #GC_SRC = gencgc.c
58
59 # e_rem_pio2.c has strict aliasing issues. Compile this with
60 # strict-aliasing rules turned off. To see this failure, try
61 # computing (cos (expt 2d0 120)). This should be near
62 # -0.92587902285.... If not, then e_rem_pio2 has been miscompiled.
63 #
64 # Use -ffloat-store to make sure we get double-float arithmetic
65 # instead of extended.
66 e_rem_pio2.o : e_rem_pio2.c
67 $(CC) -c -fno-strict-aliasing -ffloat-store $(CFLAGS) $<
68

  ViewVC Help
Powered by ViewVC 1.1.5