On Tue, Oct 04, 2011 at 03:48:18PM +0200, Igor Stasenko wrote:
On 4 October 2011 14:17, David T. Lewis lewis@mail.msen.com wrote:
On Mon, Oct 03, 2011 at 11:54:58AM -0300, Esteban Lorenzano wrote:
- 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