[Newbies] VM Building questions
Dave Raymer
dave.raymer at gmail.com
Thu Oct 5 18:42:04 UTC 2006
Gentlefolk,
I've started playing with VM building and I've got a few questions, perhaps
observations for which I was unable to find answers/confirmations.
Using: Win32 system, v1545 out of SVN repo; VMMakerTool
The following plugins don't have an platform specific files: FileCopyPlugin
and InternetConfigPlugin
The following plugins fail when VM generation is attempted.
BalloonEnginePlugin, BitBltSimulation, DeflatePlugin, FFTPlugin,
HostWindowPlugin, JoystickTabletPlugin, JPEGReadWriter2Plugin,
LargeIntegersPlugin, Mpeg3Plugin, RePlugin, SerialPlugin, SocketPlugin,
SoundCodecPlugin, SoundPlugin.**
I did not attempt to "generate" MacMenubarPlugin, MIDIPlugin, or
TestOSAPlugin.
Is this expected, or am I doing something wrong?
regards,
Dave
**All fail with in the same spot...(indicated in red below) with a
MessageNotUnderstood. spec ccgDecleareCForVar: argName.
#
----------------------------------------------------------------------------------------------
handlePrimitiveDirective: aStmt on: sStream
isPrimitive := true.
fullArgs := args.
locals addAll: args.
args := OrderedCollection new.
fullArgs with: parmSpecs do:
[:argName :spec |
declarations
at: argName
put: (spec ccgDeclareCForVar: argName)].
aStmt isAssignment ifTrue:
[declarations
at: aStmt variable name
put: (rcvrSpec ccgDeclareCForVar: aStmt variable name).
sStream nextPutAll: (self
statementsFor:
(rcvrSpec
ccg: SmartSyntaxPluginCodeGenerator new
prolog: [:expr | aStmt variable name, ' _ ', expr]
expr: aStmt variable name
index: (fullArgs size))
varName: '')].
"only add the failure guard if there are args or it is an assignment"
(fullArgs isEmpty not or:[aStmt isAssignment]) ifTrue:[self
generateFailureGuardOn: sStream].
^true.
#---------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20061005/a571dac6/attachment.htm
More information about the Beginners
mailing list