PATCH: jni support for darwin
Andreas Tobler
toa@pop.agri.ch
Fri Mar 21 21:24:00 GMT 2003
Tom Tromey wrote:
>>>>>>"Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
>
>
> Andreas> The second part modifies posix.h, it changes the suffix for
> Andreas> shared libraries under darwin to dylib.
>
> But not the prefix, so a library is named `libfoo.dylib'?
> Weird.
:)
e.g:
-r-xr-xr-x 1 root wheel 1245772 Dec 14 11:58 libSystem.B.dylib
-r-xr-xr-x 1 root wheel 4960576 Dec 3 17:26 libSystem.B_debug.dylib
-r-xr-xr-x 1 root wheel 4565868 Dec 3 17:26 libSystem.B_profile.dylib
yes, libXYZ.version.dylib
>
> Andreas> Tested on 3.4 and 3.3. Ok to commit?
>
> Yes, thanks.
>
> Andreas> 2003-03-10 Andreas Tobler <a.tobler@schweiz.ch>
> Andreas> * libltdl/ltdl.c: Omit underscore under darwin.
>
> It's fine for us to have a divergence like this, but we'd really
> prefer it to end up in the main libltdl. If you haven't already
> submitted this to the libtool developers, could you?
Hm, it's taken from there. Cross check again tomorrow. But the problem
is, we add one underscore too much. The real solution would be to
implement dylib access with the mach-o api (to get rid of dl). But for
the first step it seems to me sufficient to go this way. Since I'm the
only darwin libjava user ;)
Thank you for coming back.
I'll check the other items as well and check in for branch and trunk as
mentioned by you Tom with the fixes.
Andreas
More information about the Java-patches
mailing list