From: Christophe R. <cr...@us...> - 2002-11-25 13:24:17
|
Update of /cvsroot/sbcl/sbcl In directory sc8-pr-cvs1:/tmp/cvs-serv12575 Modified Files: make-config.sh version.lisp-expr Log Message: 0.7.9.67: MIPSel build patch ... write a noddy C program to determine target endianness (KLUDGE: assumes int is 32 bits) ... use it in make-config.sh if we are building a MIPS target Index: make-config.sh =================================================================== RCS file: /cvsroot/sbcl/sbcl/make-config.sh,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- make-config.sh 27 Oct 2002 16:02:56 -0000 1.17 +++ make-config.sh 25 Nov 2002 13:24:15 -0000 1.18 @@ -37,7 +37,6 @@ ppc) guessed_sbcl_arch=ppc ;; parisc) guessed_sbcl_arch=hppa ;; mips) guessed_sbcl_arch=mips ;; - mipsel) guessed_sbcl_arch=mips; little_endian=yes ;; *) # If we're not building on a supported target architecture, we # we have no guess, but it's not an error yet, since maybe @@ -64,8 +63,12 @@ # similar with :STACK-GROWS-FOOWARD, too. -- WHN 2002-03-03 if [ "$sbcl_arch" = "x86" ] ; then printf ' :gencgc :stack-grows-downward-not-upward :c-stack-is-control-stack' >> $ltf -elif [ "$sbcl_arch" = "mips" -a "$little_endian" = "yes" ] ; then - printf ' :little-endian' >> $ltf +elif [ "$sbcl_arch" = "mips" ] ; then + # Use a little C program to try to guess the endianness. Ware + # cross-compilers! + gnumake=${GNUMAKE:-gmake} + $gnumake -C tools-for-build determine-endianness + tools-for-build/determine-endianness >> $ltf else # Nothing need be done in this case, but sh syntax wants a placeholder. echo > /dev/null Index: version.lisp-expr =================================================================== RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v retrieving revision 1.674 retrieving revision 1.675 diff -u -d -r1.674 -r1.675 --- version.lisp-expr 24 Nov 2002 22:40:52 -0000 1.674 +++ version.lisp-expr 25 Nov 2002 13:24:15 -0000 1.675 @@ -18,4 +18,4 @@ ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.7.9.66" +"0.7.9.67" |