Howto build with debugging symbols?

Kelly O'Hair Kelly.Ohair at Sun.COM
Thu Jul 10 23:54:00 UTC 2008


With a separate cloned jdk repository, try running 'cd make && gmake debug'

It should compile everything with -g.

Then copy the libzip.so into the JDK you are playing with, that way
just the debug version of libzip.so is used instead of the entire
debug jdk.  That's assuming you have isolated the problem to libzip.so.

-kto


Regina Anger wrote:
> I am hacking inside the JRE native libraries just for fun,  having 
> troubles to track a crash down.
> Is it possible to build OpenJDK with debugging symbols included in 
> external native libraries like libzip.so, and if it is how can I enable it?
> 
> Mfg regina
> 
> ------------------------------------------------------------------------
> Explore the seven wonders of the world Learn more! 
> <http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE>



More information about the build-dev mailing list