[squeak-dev] Re: building Cog / FFiPrims plgin on windows

Levente Uzonyi leves at elte.hu
Sun Oct 31 18:39:24 UTC 2010


On Sun, 31 Oct 2010, Alain_Rastoul wrote:

> Thanks Levente,
> I have seen lot of discussions about alien FFI, is it what you are talking
> about ?
> or is there another Cog FFI package somewhere else ?

For building CogVM you should use the existing plugin code in the Cog 
VMMaker image (so don't load anything there).
To use FFI you should load the code available at 
http://source.squeak.org/FFI .
Cog FFI is not Alien FFI, AFAIK it's a modified/extended version of the 
original FFI.

>
> Just to mention it, I had to modify some (few minors) incorrect
> declarations in sq.h, HostWindowPlugin.h and sqWin32Backtrace.c in order to
> compile
> with gcc 4.5.

I doubt anyone tested it using gcc 4.5, so there may be problems. The 
"official" windows build uses gcc 3.4.4. You can get the current latest 
build here: 
http://www.mirandabanda.org/files/Cog/VM/VM.r2316/cogwin.zip .


Levente

snip



More information about the Squeak-dev mailing list