This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
GCJ / libjava 'debug' build -O0
- From: "Peter Blemel" <pblemel at hotmail dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 30 Jun 2004 13:32:28 -0600
- Subject: GCJ / libjava 'debug' build -O0
- Bcc:
Hello World,
I'm just now getting back to working on my GCJ cross compiler for a powerpc
embedded system. I have everything compiling, linking, loading, and even
starting on my embedded system(!) but I'm chasing down a class loading
problem.
My question involves making gdb/insight stick to the right lines. The
compiler collection was built with the default -g -O2, but the -O2 is making
stepping through the 'standard' java program startup where class loading is
performed a bit troublesome because the optimization makes the code jump
around a bit in the debugger. I don't want to change the defaults for the
rest of the compiler suite, I just want to have libjava build -g -O0. What
is the best way to do this?
Thanks,
Peter Blemel
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/