chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] build with CC="gcc -m32"


From: Tomas Hlavaty
Subject: [Chicken-users] build with CC="gcc -m32"
Date: Wed, 30 Apr 2014 22:06:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]