Hi,

On Thu, 11 Oct 2007 13:59:23 +0200
Florian Philipp <[EMAIL PROTECTED]> wrote:

> I've noticed that the gcj use flag is not enabled by default and 
> therefore all java code is compiled to byte code instead of native 
> binaries, am I correct?

I think the gcj flag toggles if java support is added at all.
gcj itself can compile to bytecode (class files) or native binary code.
In order to generate java bytecode, the flag "-C" has to be specified.

> I wonder how I can change that. Just re-emerge gcc with USE="gcj" and 
> all packages containing java code? Is it even a good idea?

It will take a lot more time when emerging gcc. Whether you need it
depends on what you are planning to do with it... If you just need a
full blown JDK, the gcj might not be exactly what you want.

Gcj also brings the gij interpreter, which can be used to run java
bytecode.

-hwh
-- 
[EMAIL PROTECTED] mailing list

Reply via email to