The 'gcc -dynamiclib ...' command-line will also need the -arch
x86_64 option added.
You can confirm the compiled jnilib is 64-bit using:
file libPiddy.jnilib
and looking for the x86_64 arch.
If you intend to use your jnilib on multiple architectures, you will
have to compile it as a fat mach-o (Universal Binary). Exactly how
to do that depends on what your tool chain is. If you want specific
advice, you'll have to describe exactly what you're using: be
specific. I can't tell from your original post whether you're using
a manual command-line, a makefile, IntelliJ, or something else in the
actual production.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden