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
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966127#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...