;;;; -*- coding: utf-8; fill-column: 78 -*-
changes relative to sbcl-1.0.50:
+ * enhancement: building 32-bit SBCL on Linux/x86-64 now works without a
+ chroot. (Use "SBCL_ARCH=x86 sh make.sh" to build.)
* bug fix: correct RIP offset calculation in SSE comparison and shuffle
instructions. (lp#814688)
* bug fix: COERCE to unfinalized extended sequence classes now works.
'("-D_LARGEFILE_SOURCE"
"-D_LARGEFILE64_SOURCE"
"-D_FILE_OFFSET_BITS=64")
+ #+(and x86 linux) '("-m32")
#+(and x86-64 darwin inode64)
'("-arch" "x86_64"
"-mmacosx-version-min=10.5"
# (You *are* encouraged to design and implement a coherent stable
# interface, though.:-| As far as I (WHN 2002-05-19) know, no one is
# working on one and it would be a nice thing to have.)
-LINKFLAGS += -Wl,--export-dynamic
+LINKFLAGS += -Wl,--export-dynamic -m32
OS_LIBS = -ldl
ifdef LISP_FEATURE_LARGEFILE
CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
+CFLAGS += -m32
ifdef LISP_FEATURE_SB_THREAD
OS_LIBS += -lpthread
args=
case "$platform" in
Darwin-X86-64) args="-arch x86_64" ;;
+ Darwin-X86) args="-arch i386" ;;
SunOS-X86-64) args=-m64 ;;
-esac
-
-case "$platform" in
- Darwin-X86) args="-arch i386" ;;
+ Linux-X86) args="-m32" ;;
esac
while [ $# -gt 0 ]; do