[jboss-dev-forums] [Design of JBoss Profiler] - Re: Mac OS X: Success!

msolnit do-not-reply at jboss.com
Fri Aug 18 13:55:20 EDT 2006


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#3966127

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966127



More information about the jboss-dev-forums mailing list