[cmucl-commit] CMUCL commit: cross-sol-x86-branch src/tools (create-target.sh)

Raymond Toy rtoy at common-lisp.net
Tue Dec 21 00:41:16 CET 2010


    Date: Monday, December 20, 2010 @ 18:41:16
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/tools
     Tag: cross-sol-x86-branch

Modified: create-target.sh

Add support for Solaris/x86.


------------------+
 create-target.sh |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)


Index: src/tools/create-target.sh
diff -u src/tools/create-target.sh:1.13 src/tools/create-target.sh:1.13.12.1
--- src/tools/create-target.sh:1.13	Mon Feb  1 21:45:54 2010
+++ src/tools/create-target.sh	Mon Dec 20 18:41:15 2010
@@ -26,7 +26,12 @@
     # Only target directory given.  Try to deduce the lisp-variant
     TARGET_DIR="$1"
     case `uname -s` in
-    SunOS) LISP_VARIANT=sparc_gcc ;;
+    SunOS) 
+	case `uname -m` in
+	  i86pc) LISP_VARIANT=x86_solaris_sunc ;;
+	  sun*) LISP_VARIANT=sparc_gcc ;;
+	esac 
+	;;
     Linux) LISP_VARIANT=x86_linux ;;
     Darwin) case `uname -m` in
             ppc) LISP_VARIANT=ppc_darwin ;;
@@ -71,7 +76,7 @@
       OpenBSD*) MOTIF_VARIANT=OpenBSD ;;
       *_darwin) MOTIF_VARIANT=Darwin ;;
       sun4_solaris_gcc|sparc_gcc) MOTIF_VARIANT=solaris ;;
-      sun4_solaris_sunc|sparc_sunc) MOTIF_VARIANT=solaris_sunc ;;
+      sun4_solaris_sunc|sparc_sunc|x86_solaris_sunc) MOTIF_VARIANT=solaris_sunc ;;
       sun4c*) MOTIF_VARIANT=sun4c_411 ;;
       hp700*) MOTIF_VARIANT=hpux_cc ;;
       pmax_mach) MOTIF_VARIANT=pmax_mach ;;


More information about the cmucl-commit mailing list