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

Contents of /src/lisp/Config.sun4_solaris_gcc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (show annotations)
Tue Sep 9 15:01:00 2008 UTC (5 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: sparc-tramp-assem-base, post-merge-intl-branch, merged-unicode-utf16-extfmt-2009-06-11, sse2-packed-2008-11-12, intl-branch-working-2010-02-19-1000, unicode-string-buffer-impl-base, sse2-base, release-20b-pre1, release-20b-pre2, unicode-string-buffer-base, sse2-packed-base, sparc-tramp-assem-2010-07-19, amd64-dd-start, release-19f-pre1, snapshot-2008-12, snapshot-2008-11, intl-2-branch-base, GIT-CONVERSION, cross-sol-x86-merged, label-2009-03-16, release-19f-base, merge-sse2-packed, merge-with-19f, intl-branch-working-2010-02-11-1000, RELEASE_20b, RELEASE_19f, release-20a-base, cross-sol-x86-base, snapshot-2008-10, 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, label-2009-03-25, cross-sol-x86-2010-12-20, sse2-checkpoint-2008-10-01, intl-branch-2010-03-18-1300, sse2-merge-with-2008-11, sse2-merge-with-2008-10, 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-02, snapshot-2009-01, snapshot-2009-07, snapshot-2009-05, snapshot-2009-04, HEAD
Branch point for: RELEASE-19F-BRANCH, portable-clx-branch, cross-sparc-branch, RELEASE-20B-BRANCH, unicode-string-buffer-branch, sparc-tramp-assem-branch, sse2-packed-branch, RELEASE-20A-BRANCH, amd64-dd-branch, unicode-string-buffer-impl-branch, intl-branch, cross-sol-x86-branch, sse2-branch, intl-2-branch
Changes since 1.20: +6 -5 lines
Update comments.

Config.sun4_solaris_gcc:
o Note that gdb 6.8 handle signals correctly and can be used to debug
  cmucl.

Config.sun4_solaris_sunc:
o Add link to why we can't use inline with Sun Studio 11.
1 # -*- Mode: makefile -*-
2 # These tell gmake where to look for .h, .c and .S files. Mostly for
3 # building the binary outside of the src tree.
4
5
6 PATH1 = ../../src/lisp
7 vpath %.h .:$(PATH1)
8 vpath %.c .:$(PATH1)
9 vpath %.S .:$(PATH1)
10
11 # For v8plus support (allows 64-bit integer support on V9
12 # architectures), uncomment the definitions for CC_V8PLUS and
13 # AS_V8PLUS. The -Wa,xarch=v8plus option tells the assembler to
14 # accept v8plus instructions and generate a v8plus object files and
15 # executable.
16 #
17 # However, we should also make sure the binary is marked as v8plus by
18 # enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled
19 # because we really are a v8plus application by using some of the v9
20 # instructions, even if we don't use the 64-bit registers.
21
22 #CC_V8PLUS = -xarch=v8plus
23 ifdef FEATURE_SPARC_V9
24 AS_V8PLUS = -Wa,-xarch=v8plus
25 endif
26
27 # Enable support for :linkage-table feature.
28
29 ifdef FEATURE_LINKAGE_TABLE
30 LINKAGE = -DLINKAGE_TABLE
31 endif
32
33 # Enable support for generational GC
34 ifdef FEATURE_GENCGC
35 GENCGC = -DGENCGC
36 GC_SRC = gencgc.c
37 endif
38
39 CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC)
40
41 # Note: If you want to be able to use gdb with cmucl, you need to use
42 # gdb 4.18 (or earlier?) or use gdb 6.8. Versions 5.x and later
43 # (including 6.3) appear to be incapable of passing signals (SIGILL
44 # and SIGSEGV) to lisp properly.
45 #
46 # But, gcc 3.3.3 and later appear to produce executables that gdb 4.18
47 # can't handle. So, we should probably stick with gcc 3.3.2. Adjust
48 # the CC variable appropriately, if necessary. But gdb 6.8 handles
49 # 3.4.3 just fine.
50
51 CC = gcc -O -Wall
52 #CC = /apps/gnu/solaris2.8/gcc-3.3.3/bin/gcc -O1 -Wall
53 CPP = gcc -E
54 CFLAGS = -g $(AS_V8PLUS)
55
56 # Needed for sys/asm_linkage.h and sparc-assem.S (at least in 2.3)
57 # Note that the sys/asm_linkage.h braindamage breaks make depend
58 ASFLAGS = -g -traditional-cpp $(AS_V8PLUS)
59 DEPEND_FLAGS = -traditional-cpp
60 NM = $(PATH1)/solaris-nm
61 ASSEM_SRC = sparc-assem.S
62 ARCH_SRC = sparc-arch.c
63
64 OS_SRC = solaris-os.c os-common.c undefineds.c elf.c k_rem_pio2.c
65 OS_LINK_FLAGS=
66 OS_LIBS= -lsocket -lnsl -ldl

  ViewVC Help
Powered by ViewVC 1.1.5