[Mono-osx] mono embedding
davide.morelli at parser.it
Tue Sep 20 05:23:54 EDT 2005
sorry if these questions are dumb.. but i'm becoming mad with osx
I need to embed mono into an OSX application.
Following these tips http://www.go-mono.com/embedded-api.html I can compile
my osx application that uses mono embedded to draw on a CGContextRef.
I am using a customized version of the GAC (I customized System.Drawin.dll
I'd want all the mono runtime (and GAC) into the application bundle (being a
customized mono I don't want to install it on the end-user system).
Question number 1: How should I compile mono to give libmono.0.dylib the
install_name @application_path ?
I've tryied with ./configure --prefix=@application_path but configure
returns an error
I've found this solution but don't know if is correct... I use
# otool -L ...
# install_name_tool -change .....
to change all install_names from absolute path to relative path (
@application_path/Frameworks/etc..) on all libraries needed (mono, glib,
Question number 2 (Very dumb question): How to ship all the (customized) GAC
with the embedded mono inside the bundle?
More information about the Mono-osx