Hi,

I tried to build 32bit chicken scheme on x86-64 linux:

$ make PLATFORM=linux ARCH=x86 C_COMPILER="gcc -m32" PREFIX=~/sw/chicken32

and all seemed well.

However, it seems that the compiled csc has a bug, where it treats the
env var value as executable name instead of letting the shell interpret it:

$ ~/sw/chicken32/bin/csc -deploy hw.scm
sh: gcc -m32: command not found

Error: shell command terminated with non-zero exit status 32512: 'gcc -m32' 
'hw.c' -o 'hw.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H 
-DC_ENABLE_PTABLES -Os -fomit-frame-pointer -DC_PRIVATE_REPOSITORY 
-I"/home/tomas/sw/chicken32/include/chicken"

Or is there a better way to build 32 bit chicken scheme on 64 bit linux?

Thank you,

Tomas

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to