[Mono-list] io-layer naming issues on OSX.

Andreas Färber andreas.faerber at web.de
Tue Oct 17 08:40:06 EDT 2006


Am 17.10.2006 um 13:24 schrieb Robert Jordan:

>> Using official Mono 1.1.18, removing the -undefined dynamic_lookup
>> [...] does not lead to any change
> Please provide some kind of self-containing test case.

The attached Objective-C source file Test.m contains the code to  
embed the Mono runtime within an Xcode plugin. Create a loadable  
Cocoa bundle project. Set as strings in Info.plist NSPrincipleClass  
to MCSPlugin, LoadAtLaunch to YES, XCPluginHasUI to NO; set the  
bundle extension to pbplugin. Link with Cocoa framework, Mono  
framework, and the system-private frameworks DevToolsCore (not sure  
if necessary) and DevToolsInterface (defines PBXLSPlugin). To  
execute, copy .pbplugin to /Library/Application Support/Apple/ 
Developer Tools/Plug-ins and (re-)start Xcode; read Console output  
during Xcode startup.

It expects to find an executable assembly Test.exe in Contents/ 
Resources but as the error is already with mono_jit_init this  
shouldn't matter. Oh, and I've only tested your proposed workaround  
on Intel, where the problem occurred in the first place. (doing some  
more proofs ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.m
Type: application/octet-stream
Size: 1429 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20061017/ddf4c727/attachment.obj 
-------------- next part --------------

More information about the Mono-list mailing list