patch jni.exp for darwin dylibs

Andreas Tobler toa@pop.agri.ch
Sat Mar 8 06:11:00 GMT 2003


Hi,

this patch lets darwin compile and link the jni testcases.
Darwin uses the -dynamiclib flag to compile dylibs instead of -shared. 
Also the extension is .dylib iso. so.
I'm not able to run them since there is another problem doing the call. 
But a step forward.

I tested it on head and branch 3.3 on darwinppc and linuxppc.

It should be applicable to 3.3 and head. If I get an ok, I can do that.

Thanks,

Andreas

2003-03-08  Andreas Tobler <a.tobler@schweiz.ch>

         * libjava.jni/jni.exp: Add compilation/link fix dor darwin dylibs.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jni-exp.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030308/1a4f3d07/attachment.ksh>


More information about the Java-patches mailing list