This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: 3rd Party Classes: Can gcj Only Handle Source Code?


"Alan W. Jurgensen" wrote:
> Or is one better off just using java source with gcj?

Yes, whenever source is available.  Some information is lost when
compiling bytecode, like array initializers (they get converted to
instructions, since static array initializers don't exist in bytecode). 
In general gcj should optimize better when compiling from source.

An exception is inner classes, which aren't yet handled by gcj... if you
use these, you may be forced to compile from bytecode.

-- 
Jeff Sturm
jsturm@sigma6.com

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