~ chicken-core (master) aadb13fade3bb775bc2ddddebff5c3f99948ca0c
commit aadb13fade3bb775bc2ddddebff5c3f99948ca0c
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Mon Oct 18 03:23:58 2010 -0400
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Mon Oct 18 03:23:58 2010 -0400
make gcc the default compiler for Solarias (suggested by Peter Bex)
diff --git a/Makefile.solaris b/Makefile.solaris
index 4a0113e2..5c28c33c 100644
--- a/Makefile.solaris
+++ b/Makefile.solaris
@@ -34,8 +34,8 @@ SRCDIR = ./
# platform configuration
ARCH ?= $(shell sh $(SRCDIR)/config-arch.sh)
-# default to SunPro CC
-export C_COMPILER ?= cc
+# default to gcc - use "make ... C_COMPILER=cc ..." to use SunPro CC
+export C_COMPILER ?= gcc
export INSTALL_PROGRAM ?= ginstall
# options
diff --git a/README b/README
index 651b6760..e4d3813e 100644
--- a/README
+++ b/README
@@ -259,10 +259,10 @@
Solaris:
- - By default, CHICKEN is build with the SunPro C compiler (`cc').
- To use `gcc' instead of `cc', pass
+ - By default, CHICKEN is build with the GNU C compiler (`gcc').
+ To use the SunPro C compiler (`cc') instead, pass
- C_COMPILER=gcc
+ C_COMPILER=cc
to the "make" invocation.
Trap