3 ms·
This loader will be buggy and incomplete, by it's nature, and won't really solve the problems inherent in loading a shared library from another OS into an exist
by nupark2 16y ago
This loader will be buggy and incomplete, by it's nature, and won't really solve the problems inherent in loading a shared library from another OS into an existing native process.
- mark_l_watson 16y agoThanks for the response! It was a long shot, but I thought that I would ask in case someone new of a stable and reliable way to use OS X shared libraries on Linux. I imagine it would be easier on NetBSD.
- ori_b 16y agoNot really. The problem is the binary format itself - Linux, *BSD, and pretty much every Unix but AIX these days uses ELF, but OSX uses MachO. The two aren't compatible. The easiest way to do this reliably would probably involve writing your own mini-linker load the Mach-O binaries in Linux from the JVM, bypassing dlopen() and friends.
- pyre 16y ago> pretty much every Unix but AIX OSX is actually a certified UNIX. http://arstechnica.com/apple/news/2007/08/mac-os-x-leopard-receives-unix-03-certification.ars http://arstechnica.com/apple/news/2007/08/mac-os-x-leopard-r...