Building external Plugins on OS-X
Helge Horch
Helge.Horch at t-online.de
Thu Sep 5 11:37:47 UTC 2002
On 04.09.2002, John M McIntosh wrote:
>I'll note that Andrew Greenberg was responsible for much of the
>documentation creation, and the restructing of the project after my
>hacking to make it much easier to work with.
Right, I should have checked the credits in the ReadMe. Thanks to
Andrew, for this work, and for the RePlugin. It has been most
helpful.
>But since your're doing a external plugin build can we get a copy of
>your build documents?
Sure. (PB project attached -- what else do you want/need? Sorry, I'm
still a bit unclear on what the necessary set of document*s* would
include.)
>Check to see if you've got SQUEAK_BUILTIN_PLUGIN defined if so why?
You hit the nail on the head. Indeed, it gets defined in
sqPlatformSpecific.h (from the platforms/MacOS/vm tree).
For the moment, I've just hand-patched the generated
src/plugins/rePlugin/rePlugin.c to #undef SQUEAK_BUILTIN_PLUGIN right
after #including sqPlatformSpecific.h.
Builds, loads (into stock 3.2.8b5 VM), passes test cases, rocks!
Smalltalk listLoadedModules
#('rePlugin 4 September 2002 (e)' ...)
>That triggers this define
>#ifdef SQUEAK_BUILTIN_PLUGIN
>extern
>#endif
>struct VirtualMachine* interpreterProxy;
>
>which leaves interpreterProxy as extern, thus the linker complains.
>Not sure if this is a bug/feature in vmmaker, but let's hear your
>story first.
A story with a very happy end -- my VM Builder cert has just been renewed.
Before anyone asks, I've uploaded a copy of the external RePlugin to
the Swiki. See <http://minnow.cc.gatech.edu/squeak/1401>.
Cheers,
Helge
-------------- next part --------------
Skipped content of type multipart/appledouble
More information about the Squeak-dev
mailing list
|