Not for full-blown cross compilation, though.
;;;; -*- coding: utf-8; fill-column: 78 -*-
;;;; -*- coding: utf-8; fill-column: 78 -*-
+changes relative to sbcl-1.0.54:
+ * enhancements to building SBCL:
+ ** --arch option can be used to specify the architecture to build for.
+ (Mainly useful for building 32-bit SBCL's on x86-64 hosts, not
+ full-blows cross-compilation.)
+
changes in sbcl-1.0.54 relative to sbcl-1.0.53:
* minor incompatible changes:
** RENAME-FILE on a symbolic links used to rename the linked-to file
changes in sbcl-1.0.54 relative to sbcl-1.0.53:
* minor incompatible changes:
** RENAME-FILE on a symbolic links used to rename the linked-to file
--prefix=)
$optarg_ok && SBCL_PREFIX=$optarg
;;
--prefix=)
$optarg_ok && SBCL_PREFIX=$optarg
;;
+ --arch=)
+ $oparg_ok && SBCL_ARCH=$optarg
+ ;;
--xc-host=)
$optarg_ok && SBCL_XC_HOST=$optarg
;;
--xc-host=)
$optarg_ok && SBCL_XC_HOST=$optarg
;;
taken to be megabytes unless explicitly suffixed with Gb in
order to specify the size in gigabytes.
taken to be megabytes unless explicitly suffixed with Gb in
order to specify the size in gigabytes.
+ --arch=<string> Specify the architecture to build for.
+
+ Mainly for doing x86 builds on x86-64.
+
--xc-host=<string> Specify the Common Lisp compilation host.
The string provided should be a command to invoke the
--xc-host=<string> Specify the Common Lisp compilation host.
The string provided should be a command to invoke the
sbcl_arch=${SBCL_ARCH:-$guessed_sbcl_arch}
echo sbcl_arch=\"$sbcl_arch\"
if [ "$sbcl_arch" = "" ] ; then
sbcl_arch=${SBCL_ARCH:-$guessed_sbcl_arch}
echo sbcl_arch=\"$sbcl_arch\"
if [ "$sbcl_arch" = "" ] ; then
- echo "can't guess target SBCL architecture, need SBCL_ARCH environment var"
+ echo "can't guess target SBCL architecture, please specify --arch=<name>"
exit 1
fi
printf ":%s" "$sbcl_arch" >> $ltf
exit 1
fi
printf ":%s" "$sbcl_arch" >> $ltf