samskivert/ikvm-monotouch — pull request #1 by badlogic (2012-03-29 11:10:33+00:00)
Title: JNI Support

See updated READM.md for instructions on how to integrate JNI code.

Summary of changes:

1) ClassLoader/Runtime had to be slightly modified to not try and see if the file requested by System.load/loadLibrary actually exists.
2) native/os.c had to be modified to use the standard dlopen/dlsym calls instead of the glib stuff.
3) JniInterface.cs has been modified to not go through individual ClassLoader's native libs, Instead we directly try to fetch the symbol.
4) added an XCode project to compile the ikvm natives, building is performed on the CLI with xcodebuild.
5) integrated compilation of ikvm natives with the build system. Outputs fat lib for simulator, arm6 and arm7. It's not pretty, but it works.