Skip to content
Snippets Groups Projects
Commit b47aa381 authored by rtoy's avatar rtoy
Browse files

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.
parent 572f5c8f
No related branches found
No related tags found
No related merge requests found
......@@ -38,14 +38,15 @@ endif
CPPFLAGS = -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC)
# Note: If you want to be able to run gdb with cmucl, the only version
# of gdb that still works for me (rtoy) on Solaris is 4.18. Versions
# 5.x and later (including 6.3) are incapable of passing signals
# (SIGILL and SIGSEGV) to lisp properly.
# Note: If you want to be able to use gdb with cmucl, you need to use
# gdb 4.18 (or earlier?) or use gdb 6.8. Versions 5.x and later
# (including 6.3) appear to be incapable of passing signals (SIGILL
# and SIGSEGV) to lisp properly.
#
# But, gcc 3.3.3 and later appear to produce executables that gdb 4.18
# can't handle. So, we should probably stick with gcc 3.3.2. Adjust
# the CC variable appropriately, if necessary.
# the CC variable appropriately, if necessary. But gdb 6.8 handles
# 3.4.3 just fine.
CC = gcc -O -Wall
#CC = /apps/gnu/solaris2.8/gcc-3.3.3/bin/gcc -O1 -Wall
......
......@@ -35,19 +35,17 @@ GENCGC = -DGENCGC
GC_SRC = gencgc.c
endif
# Sun Studio 11 can't inline the functions in gencgc.c. See
# <http://blogs.sun.com/dew/entry/c99_inline_function> for an
# explanation. Hence, we disable inline.
CPPFLAGS = -Dinline= -I. -I$(PATH1) -DSOLARIS -DSVR4 $(CC_V8PLUS) $(LINKAGE) $(GENCGC)
CC = cc -O -xlibmieee
CPP = cc -E
# -xs so we can use gdb
CFLAGS = -g $(CC_V8PLUS)
ASFLAGS = $(AS_V8PLUS)
# SunC 2.0.1 doesn't understand .S suffixes anymore. But the free Sun
# Studio 11 does (which is all I (rtoy) have access to anymore, so
# comment that out.
#COMPILE.S = as -P $(CPPFLAGS) $(AS_V8PLUS)
NM = $(PATH1)/solaris-nm
ASSEM_SRC = sparc-assem.S
ARCH_SRC = sparc-arch.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment