There's a fair amount of guesswork in these args -- I've been in
Java-land for 8 years and haven't done serious C since I was in
college. I think I need the "-c" because I'm developing a library
and not an executable (with a main method). The -g and -dynamiclib
flags are things I found on the web... not sure I need them... it
was a late night.
In specific, see the JNI section in "Core Java APIs on Mac OS
X". They give examples for building JNI from the command line,
depending on whether you want to build dynamic libraries or bundles.
Alternatively, you could always create an Xcode JNI project,
build it, and then take a look through the build log to see what
commands Xcode is using to build your sources.
HTH!
Brad BARCLAY,
Lead Developer & Project Administrator,
The jSyncManager Project.
=-=-=-=-=-=-=-=-=-=
From the Mac OS X Desktop of Brad BARCLAY
E-Mail: email@hidden Web: http://www.jsyncmanager.org
_______________________________________________
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
This email sent to email@hidden