Can plugins add libraries to unix vm?

Alan Sibley alansibley at mac.com
Wed Dec 21 17:36:18 UTC 2005


I am building an internal plugin... I can switch to external,
it would be nice for it to work either way. I will a) try external and let you know
and b) paste in the link command from the internal makefile.

Thanks
Alan


On Wednesday, December 21, 2005, at 07:46AM, Bert Freudenberg <bert at impara.de> wrote:

>I am not sure why ar would be involved here ... can you post the  
>commands issued by make?
>
>This is an external module, right?
>
>- Bert -
>
>Am 21.12.2005 um 16:18 schrieb Alan Sibley:
>
>> Hmmm... when I try that... "ar" complains mightily
>>
>> ar: -Wl,-framework: No such file or directory
>> ar: -Wl,Cocoa:.....
>>
>> when vm-display-Quartz compiles and links... it doesn't look to be  
>> using ar.
>> I'm not the "makefile jockey" to quite determine why that is :(
>>
>> Thanks for you patience...
>>
>> On Dec 21, 2005, at 7:26 AM, Bert Freudenberg wrote:
>>
>>>
>>> Am 21.12.2005 um 12:35 schrieb Alan Sibley:
>>>
>>>> Hey folks,
>>>>
>>>> We are working on a plugin using the unix VM for squeak under OSX  
>>>> Tiger.
>>>> I'd like to have the resulting squeak VM link in some foundation  
>>>> stuff from OSX
>>>> (CoreFoundation CoreServices...). Is there a way to trigger this  
>>>> using
>>>> the Makefile.in stuff (tried altering XLDFLAGS, PLIBS, LIBS with  
>>>> no success).
>>>>
>>>> It would be nice to have this linkage only occur if adding in our  
>>>> plugin.
>>>
>>> Use the source, Luke:
>>>
>>> bert.vektor platforms/unix/vm-display-Quartz % cat Makefile.inc
>>> XCPPFLAGS=      -I$(topdir)/platforms/Cross/plugins/ 
>>> B3DAcceleratorPlugin \
>>>                 -I$(topdir)/platforms/unix/plugins/ 
>>> B3DAcceleratorPlugin \
>>>                 -framework Cocoa -framework OpenGL
>>>
>>> PLIBS=          -Wl,-framework -Wl,Cocoa \
>>>                 -Wl,-framework -Wl,OpenGL
>>>
>>>
>>> - Bert -
>>>
>
>
>
>



More information about the Vm-dev mailing list