I didn't quite realize I had a Linux to Mac problem rather than a JNI
problem...which does kind of make sense in retrospect. Meh, it's been
a trying month with no end in sight.
Thanks again to both Mikael and Bill.
Cheers,
Steve
On Aug 25, 2008, at 8:25 PM, Bill Northcott wrote:
On 25/08/2008, at 9:08 PM, Stephyn Butcher wrote:
However, I cannot even begin to figure out how to make this work on
OS
X. I have the following command:
Stuff you need to watch on that command line:
-shared becomes -dynamiclib
-fpic is redundant but should not cause a problem
-o libjsmile.so needs to be -o libjsmile.jnilib (normal shared
libraries are ,dylib)
If you want multi-architecture binaries, you will need some -arch
options - say '-arch i386 -arch x86_64 -arch ppc' you may also need
to point system root at an appropriate SDK.
I$JINC -I$JINC/linux - I would have thought that $JINC should be a
path to some header directory.
There are also the excellent O'Reilly books "MacOS X ........ for
UNIX Geeks". I don't know if the Leopard one is out yet.
Cheers
Bill Northcott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden