projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
defmethod: make the function known at compile time.
[sbcl.git]
/
tests
/
run-compiler.sh
diff --git
a/tests/run-compiler.sh
b/tests/run-compiler.sh
old mode 100644
(file)
new mode 100755
(executable)
index
3532fe3
..
068b538
--- a/
tests/run-compiler.sh
+++ b/
tests/run-compiler.sh
@@
-2,14
+2,18
@@
platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}"
platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}"
-case "$platform" in
- SunOS-*) CC=gcc ;;
- *) CC=cc ;;
-esac
+if [ -z "$CC" ]
+then
+ CC=gcc
+fi
args=
case "$platform" in
Darwin-X86-64) args="-arch x86_64" ;;
args=
case "$platform" in
Darwin-X86-64) args="-arch x86_64" ;;
+ Darwin-X86) args="-arch i386" ;;
+ SunOS-X86-64) args=-m64 ;;
+ Linux-X86) args="-m32" ;;
+ Linux-PowerPC) args="-m32" ;;
esac
while [ $# -gt 0 ]; do
esac
while [ $# -gt 0 ]; do
@@
-21,6
+25,7
@@
while [ $# -gt 0 ]; do
FreeBSD-X86-64) new=-fPIC ;;
Linux-MIPS) new=-fPIC ;;
Linux-X86-64) new=-fPIC ;;
FreeBSD-X86-64) new=-fPIC ;;
Linux-MIPS) new=-fPIC ;;
Linux-X86-64) new=-fPIC ;;
+ Linux-PowerPC) new=-fPIC ;;
NetBSD-PowerPC) new=-fPIC ;;
NetBSD-X86-64) new=-fPIC ;;
OpenBSD-PowerPC) new=-fPIC ;;
NetBSD-PowerPC) new=-fPIC ;;
NetBSD-X86-64) new=-fPIC ;;
OpenBSD-PowerPC) new=-fPIC ;;