From: Brian M. <br...@ma...> - 2005-10-16 14:59:49
|
On Oct 16, 2005, at 9:44 AM, Lutz Euler wrote: > A question: I would like to test this (and other) changes to the x86 > port on my x86-64 machine. Is there a way to build a 32-bit version of > SBCL in this environment? > > Here is what I tried so far (under version 0.8.21.7): > > Somewhere in the CVS logs I found a hint to use "SBCL_ARCH=x86", which > proved to be insufficient. I added "CC='gcc -m32'": > > CC='gcc -m32' SBCL_ARCH=x86 sh make.sh > > This built an SBCL that would run, but it only built 10 out of 14 > contribs. A quick investigation showed that "alien.so" had been built > as a 64-bit library and thus could not be linked with the 32-bit > executable. Right. You might try changing your PATH so that gcc points to a shell script which invokes your real gcc with -m32 instead of -m64. Also, 0.8.21.7 is very old. You might want to try a much newer SBCL. -- Brian Mastenbrook br...@ma... http://brian.mastenbrook.net/ |