Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
f9d62c05
by Raymond Toy at 2016-12-03T13:24:00-08:00
-
0082cee6
by Raymond Toy at 2016-12-04T08:42:19-08:00
4 changed files:
- src/lisp/Config.sparc_common
- src/lisp/Config.sparc_sunc
- + src/lisp/Config.sparcv9_sunc
- + src/tools/cross-scripts/cross-x86-sparc-bootstrap.lisp
Changes:
| ... | ... | @@ -43,7 +43,7 @@ CPPFLAGS += -I. -I$(PATH1) $(CC_V8PLUS) $(CPP_DEFINE_OPTIONS) |
| 43 | 43 |
CFLAGS += -g $(CC_V8PLUS)
|
| 44 | 44 |
|
| 45 | 45 |
NM = $(PATH1)/solaris-nm
|
| 46 |
ASSEM_SRC = sparc-assem.S
|
|
| 46 |
#ASSEM_SRC = sparc-assem.S
|
|
| 47 | 47 |
ARCH_SRC = sparc-arch.c
|
| 48 | 48 |
|
| 49 | 49 |
DEPEND=$(CC)
|
| ... | ... | @@ -20,10 +20,11 @@ include Config.sparc_common |
| 20 | 20 |
ifdef FEATURE_SPARC_V9
|
| 21 | 21 |
# For SunStudio 11, use -xarch=v8plus. For SunStudio 12, that is
|
| 22 | 22 |
# deprecated; use -m32 -xarch=sparc.
|
| 23 |
CC_V8PLUS = -m32 -xarch=sparc
|
|
| 24 |
AS_V8PLUS = -m32 -xarch=sparc
|
|
| 23 |
CC_V8PLUS = -xarch=sparc
|
|
| 24 |
AS_V8PLUS = -xarch=sparc
|
|
| 25 | 25 |
endif
|
| 26 | 26 |
|
| 27 |
ASSEM_SRC = sparcv9-assem.S
|
|
| 27 | 28 |
CFLAGS += -xlibmieee -O
|
| 28 | 29 |
DEPEND_FLAGS = -xM
|
| 29 | 30 |
ASFLAGS = $(AS_V8PLUS)
|
| 1 |
# -*- Mode: makefile -*-
|
|
| 2 |
|
|
| 3 |
# Build cmucl using Sun C compiler. We assume cc is Sun's C compiler.
|
|
| 4 |
# If you don't have it, why are you using this Config anyway? You're
|
|
| 5 |
# on your own if you use this Config without Sun C compiler available.
|
|
| 6 |
|
|
| 7 |
include Config.sparc_common
|
|
| 8 |
|
|
| 9 |
# For v8plus support (allows 64-bit integer support on V9
|
|
| 10 |
# architectures), uncomment the definitions for CC_V8PLUS and
|
|
| 11 |
# AS_V8PLUS. The -Wa,xarch=v8plus option tells the assembler to
|
|
| 12 |
# accept v8plus instructions and generate a v8plus object files and
|
|
| 13 |
# executable.
|
|
| 14 |
#
|
|
| 15 |
# However, we should also make sure the binary is marked as v8plus by
|
|
| 16 |
# enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled
|
|
| 17 |
# because we really are a v8plus application by using some of the v9
|
|
| 18 |
# instructions, even if we don't use the 64-bit registers.
|
|
| 19 |
|
|
| 20 |
ifdef FEATURE_SPARC_V9
|
|
| 21 |
# For SunStudio 11, use -xarch=v8plus. For SunStudio 12, that is
|
|
| 22 |
# deprecated; use -m32 -xarch=sparc.
|
|
| 23 |
CC_V8PLUS = -xarch=sparc
|
|
| 24 |
AS_V8PLUS = -xarch=sparc
|
|
| 25 |
endif
|
|
| 26 |
|
|
| 27 |
ASSEM_SRC = sparcv9-assem.S
|
|
| 28 |
CFLAGS += -xlibmieee -O
|
|
| 29 |
DEPEND_FLAGS = -xM
|
|
| 30 |
ASFLAGS = $(AS_V8PLUS)
|
|
| 31 |
OS_LINK_FLAGS = -M /usr/lib/ld/map.noexstk
|
| 1 |
;; Cross bootstrap file for cross-compiling from x86 to sparc.
|
|
| 2 |
;; Use this file with the -B option for bin/cross-build-world.sh
|
|
| 3 |
|
|
| 4 |
(export 'unix::unix-times "UNIX")
|
|
| \ No newline at end of file |