This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: much smaller bytecode with gcj?


On Nov 28, 2003, at 9:21 PM, Adam Megacz wrote:
I've mentioned mips2java here before. Strangely, gcj -O3 emits *much*
smaller bytecode than either javac or jikes when compiling the output
from our tool. Any ideas why this might be? The difference is striking:

Its just debugging info. Turns out compiling with -O anything automatically adds -g0. It looks like this just eliminates line number from the classfile.


-Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]