This content has been marked as final.
Show 1 reply
-
1. Re: Mac OS X: Success!
msolnit Aug 18, 2006 1:55 PM (in response to msolnit)P.S. Additional notes:
1. I would like to try to figure out how to produce a Universal Binary. Does anyone have experience with this?
2. Step 6 in the instructions above will produce some compiler warnings, but the binary should be fine. If the warnings bug you, then here is an alternate version you can try (not sure why this works, I'm not a GCC expert):#!/bin/sh rm -f *.jnilib rm -f *.o _INCLUDES="-I$JAVA_HOME/include" gcc $_OPTS $_INCLUDES -c ../native-src/jbossAgent.cpp gcc $_OPTS $_INCLUDES -c ../native-src/jbossAgentJNI.cpp gcc $_OPTS $_INCLUDES -c ../native-src/jbossAgentUtilities.cpp g++ -O0 -bundle -I$JAVA_HOME/include -o libjbossAgent.jnilib *.o
-- Matt