This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: jni support for darwin


Tom Tromey wrote:
"Andreas" == Andreas Tobler <toa at pop dot agri dot 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 dot tobler at schweiz dot 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]