How to compile a plugin on MacOSX?
Alexandre Bergel
bergel at iam.unibe.ch
Mon Jul 26 10:50:03 UTC 2004
Sorry for not being accurate, probably because of the late hour :-)
Here is what I have done:
- Create a small plugin (with just the method answerSeventeen) named ClassboxPlugin (subclass of InterpreterPlugin
- In VMMaker I set ClassboxPlugin as external because I want it to be used with a classical VM.
- I have uncompressed the file http://www-sor.inria.fr/~piumarta/squeak/unix/release/Squeak-3.6-3.src.tar.gz in /Users/godfroy/Desktop/Squeak-3.6-3
- Set the path to platforms code to OSX:Users:godfroy:Desktop:Squeak-3.6-3:platforms
- Set the path to generate sources to OSX:Users:godfroy:Desktop:Squeak:Squeak3.7b-5967:src
- "external plugin ClassboxPlugin generated as ClassboxPlugin" is displayed when I generate external plugins
On my xterm, I go to Squeak-3.6-3/build and according to the section 3.1 of Ian's page I perform:
- ../platforms/unix/config/configure
- make
There is about 30 plugins generated,
diorix at godfroy:~/Desktop/Squeak-3.6-3/build$ ls -ld *Plugin | wc -l
=> 30
But there is no ClassboxPlugin there.
Cheers,
Alexandre
NB: I use the VM Squeak 3.7.1Beta2.1.app
On Sun, Jul 25, 2004 at 09:36:57PM -0700, John M McIntosh wrote:
>
> On Jul 25, 2004, at 4:21 PM, Alexandre Bergel wrote:
>
> >Hello!
> >
> >I encounter some issues when creating a plugin on MacOSX. Please make
> >me sleep again :-)
> >I have created it in Slang and generated it using VMMaker. I use the
> >Classic MacOSX VM, and not the one of Ian.
> >
> >What should I do? I tried to follow the instruction on
> >http://www-sor.inria.fr/~piumarta/squeak/devel.html#html/devel.m4.3.0
> >but it does not work.
> >Is there a more uptodate info related to plugin generation?
>
> what does "does not work" mean?
>
> >
> >In a doomed hope I tried:
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >diorix at godfroy:~/Desktop/Squeak/Squeak3.7b-5967/ClassboxPlugin$ gcc
> >-dynamiclib ClassboxPlugin.c
> >ld: common symbols not allowed with MH_DYLIB output format with the
> >-multi_module option
> >/var/tmp//ccAAc8Vu.o definition of common _interpreterProxy (size 4)
> >/usr/bin/libtool: internal link edit command failed
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >But it was hopeless...
> >
> >Thanks a lot,
> >Alexandre
> >
> >--
> >_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >Alexandre Bergel http://www.iam.unibe.ch/~bergel
> >^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> --
> ========================================================================
> ===
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
> ========================================================================
> ===
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
More information about the Squeak-dev
mailing list
|