Hi,

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 ;)

Andreas

Attachment: Test.m
Description: Binary data



_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to