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

Contents of /src/lisp/Config.sparc_gcc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Tue Jul 7 17:14:13 2009 UTC (4 years, 9 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, cross-sol-x86-base, sparc-tramp-assem-base, post-merge-intl-branch, snapshot-2010-12, snapshot-2010-11, cross-sol-x86-merged, snapshot-2011-09, snapshot-2011-06, snapshot-2011-07, snapshot-2011-04, intl-2-branch-base, snapshot-2011-02, snapshot-2011-03, snapshot-2011-01, release-20a-pre1, snapshot-2009-11, snapshot-2010-06, pre-merge-intl-branch, intl-branch-working-2010-02-19-1000, unicode-string-buffer-impl-base, intl-branch-working-2010-02-11-1000, release-20b-pre1, release-20b-pre2, unicode-string-buffer-base, cross-sparc-branch-base, intl-branch-base, snapshot-2010-05, snapshot-2010-04, snapshot-2010-07, sparc-tramp-assem-2010-07-19, snapshot-2010-01, snapshot-2010-03, snapshot-2010-02, snapshot-2010-08, snapshot-2009-08, release-20a-base, RELEASE_20b, RELEASE_20a, cross-sol-x86-2010-12-20, amd64-dd-start, intl-branch-2010-03-18-1300, snapshot-2009-12, HEAD
Branch point for: RELEASE-20A-BRANCH, unicode-string-buffer-branch, cross-sol-x86-branch, cross-sparc-branch, sparc-tramp-assem-branch, amd64-dd-branch, unicode-string-buffer-impl-branch, intl-2-branch, RELEASE-20B-BRANCH, intl-branch
Add new config for sparc/solaris, matching what was done for x86.  The
sun4_solaris_gcc and sun4_solaris_sunc configs are now obsolete, but
we leave the around for now.

Tested both configs and they work.

lisp/Config.sparc_common:
o New file for common config for gcc and Sun C builds on Solaris

lisp/Config.sparc_gcc:
o New file for building on sparc/solaris with gcc

lisp/Config.sparc_sunc:
o New file for building on sparc/solaris with Sun C

tools/create-target.sh:
o Change default from sun4_solaris_gcc to sparc_gcc to use new
  configuration.
1 # -*- Mode: makefile -*-
2
3 include Config.sparc_common
4
5 # For v8plus support (allows 64-bit integer support on V9
6 # architectures), uncomment the definitions for CC_V8PLUS and
7 # AS_V8PLUS. The -Wa,xarch=v8plus option tells the assembler to
8 # accept v8plus instructions and generate a v8plus object files and
9 # executable.
10 #
11 # However, we should also make sure the binary is marked as v8plus by
12 # enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled
13 # because we really are a v8plus application by using some of the v9
14 # instructions, even if we don't use the 64-bit registers.
15
16 #CC_V8PLUS = -xarch=v8plus
17 ifdef FEATURE_SPARC_V9
18 AS_V8PLUS = -Wa,-xarch=v8plus
19 endif
20
21 # Note: If you want to be able to use gdb with cmucl, you need to use
22 # gdb 4.18 (or earlier?) or use gdb 6.8. Versions 5.x and later
23 # (including 6.3) appear to be incapable of passing signals (SIGILL
24 # and SIGSEGV) to lisp properly.
25 #
26
27 CC = gcc -O -Wall
28 CPP = gcc -E
29 DEPEND_FLAGS = -MM -traditional-cpp
30 ASFLAGS = -g -traditional-cpp $(AS_V8PLUS)

  ViewVC Help
Powered by ViewVC 1.1.5