[Vm-dev] Cog on linux

Levente Uzonyi leves at elte.hu
Fri Jul 16 19:57:31 UTC 2010


On Fri, 16 Jul 2010, Rob Withers wrote:

>
>
>
> --------------------------------------------------
> From: "Levente Uzonyi" <leves at elte.hu>
> Sent: Friday, July 16, 2010 8:17 AM
> To: "Squeak Virtual Machine Development Discussion" 
> <vm-dev at lists.squeakfoundation.org>
> Subject: Re: [Vm-dev] Cog on linux
>
>> 
>> On Fri, 16 Jul 2010, Rob Withers wrote:
>> 
>> (Pine still can't quote your mail...)
>> 
>
> (Is this better?  Hopefully)
>
>> Now I remember why I used the nasty trick to define CC as "gcc -m32" when I 
>> compiled the 32-bit SqueakVM on 64-bit OS. The problem is that there are 
>> places where CC is used without the CFLAGS. For example FloatMathPlugin 
>> uses LIBM_CFLAGS, which doesn't include CFLAGS. I still wonder why it has 
>> to be compiled with -O, but that's another story.
>> This trick solves it, so add CC="gcc -m32" to the arguments of configure 
>> and see if it works for you.
>> 
>
> Where do you define CC?  Is it in make.cfg?

The same place where CFLAGS is defined:
../../platforms/unix/config/configure CC="gcc -m32" CFLAGS="-g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0" LIBS=-lpthread


Levente

>
> Rob
>
>> 
>> Levente 
>
>


More information about the Vm-dev mailing list