On Nov 9, 2007 12:06 PM, Stefan Arentz <email@hidden>
wrote:
What is the trick to compile a JNI lib on 10.5 that should also
work on 10.4?
Right now I'm using:
g++
-c
-g
I got an anonymous tip :-)
simply doing an:
export MACOSX_DEPLOYMENT_TARGET=10.4
Before building made the difference. I was under the impression that
using the 10.4 SDK was enough, but it seems that the toolchain looks
at this environment variable.
Probably better than an environment variable is to explicitly pass
the compiler the "-mmacosx-version-min=10.4" option.
_______________________________________________
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