C Code Generation

Tim Rowledge tim at sumeru.stanford.edu
Tue Jan 23 16:23:28 UTC 2001

Sorry, but as far as the CCdoeGenerator is concerned, the practical
answer is "you can't do that".

The CCodeGenerator classes are there to allow translation of a very
limited subset of Smalltalk suitable for creating the VM code. You don't
get normal message sending behaviour, classes, metaclasses, any of the
useful stuff, just very simple mapping of a rather C-like style of
Smaltalk. Take a look at some of the classes that are translated!

On the other hand, you can certainly hope to make a single file with the
VM and image together so that you can treat it as an exe; Ian added a
version of that to the unix build stuff recently, I feel sure you ought
to be able to make the image be in the resource fork of the Mac VM,
Acorn has always had the facility and soon.

Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Adding manpower to a late software project makes it later.  - Brook

More information about the Squeak-dev mailing list