[Vm-dev] FT2Plugin stops working with latest version

Esteban Lorenzano estebanlm at gmail.com
Tue Oct 4 15:10:53 UTC 2011


Hi,
yes... by default the compilation flag "visibility" in mac is set to "hidden". Easiest way to allow OSProcessPlugin to be built as external is to change that... but I still don't know if that is the correct way to do it ;)

cheers,
Esteban


El 04/10/2011, a las 11:57a.m., David T. Lewis escribió:

> 
> On Tue, Oct 04, 2011 at 03:48:18PM +0200, Igor Stasenko wrote:
>> On 4 October 2011 14:17, David T. Lewis <lewis at mail.msen.com> wrote:
>>> On Mon, Oct 03, 2011 at 11:54:58AM -0300, Esteban Lorenzano wrote:
>>> 
>>>> 2) externalize OSProcess (yes... I don?t like to have it as an internal plugin)
>>> 
>>> I think there was an issue on some of the Mac platforms that required
>>> a compiler flag to force the compiler to make global variables visible
>>> (for the environment vector, etc). Is that the problem here? I do not
>>> have a Mac, but I'll try to help figure this out if I can.
>> 
>> If i remember correctly, a Cocoa VM using different entry point for
>> main() function.
>> or have some other differencies, so you cannot just pass argc, argv
>> around, but you have to prepare them.
>> 
>> If you remember, i proposed to make an API for exposing these
>> variables, so then not only OSProcess could access them
>> but any other plugin, without need of hackish linking flags, which
>> lead to confusion and too compiler/linker specific.
> 
> I do not recall for sure, but is there a hackish linking flag for this
> that works on Cocoa?
> 
> Dave
> 



More information about the Vm-dev mailing list