Building external Plugins on OS-X

Ian Piumarta squeak-dev at lists.squeakfoundation.org
Thu Sep 5 16:30:55 UTC 2002


On Thu, 5 Sep 2002, John M McIntosh wrote:

> SQUEAK_BUILTIN_PLUGIN in sqPlatformSpecific.h. I'll talk to Tim about
> this, seems I added it to get the VM to compile for code warrior,
> perhaps it's a -D define on some unix command line in most other
> environments.

On Unix I use two slightly different makefile templates for internal vs.
external plugins, chosen (at configuration time) depending on whether the
plugin is listed in plugins.int or plugins.ext.  (The internal template
compiles/links with cc and uses .o and .a extensions; the external one
compiles/links with libtool and uses .lo and .la extensions.)  One
significant difference is that the internal template explicitly adds

	-DSQUEAK_BUILTIN_PLUGIN

to the flags passed to the compiler.

Ian




More information about the Squeak-dev mailing list