On Wed, 25 Oct 2006, Tim Jenness wrote:
> On Wed, 25 Oct 2006, Peter W. Draper wrote:
>
> > managed to get the SPLAT library built on OS X 10.3 (pluto) & g77 and have
> > committed all the changes. I expect if you build this using 10.4 & g95
> > you'll need to modify the src/jni/mk script to use g95 instead of g77 and
> > that, hopefully, should be it, similarily for OS X Intel (these should use
> > the same target).
>
> Really? Brad has got ant native building on intel OSX for jnihds and
> jniast. It writes it into the i386 directory rather than ppc.
Understood, but I'm talking about SPLAT here, that differs from the other
JNI packages.
> It required a new source variant in the mk file (which Brad will commit
> today). The only issue is the jniast_libs.jar that presumably overwrites
> the linux variant. What does that file do?
It contains the built JNI libraries, what we need to do with that file is
unpack it (jar xvf jniast_libs.jar) and repack it with both the existing
Linux i386 shareable library and the OS X i386 one. When that
unpacks/installs it should give support for both platforms (since the
shareables are libjniast.so and libjniast.jnilib and the JVM knows how to
spot the difference).
Peter.
|