[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ecj-boostrap does not support the -O flag



On a debian sid machine trying to compile a project with ant with the
optimization set to "on" and using the default javac from
java-gcj-compat-dev i get an error.

    [javac] Compilation arguments:
...
    [javac] '-g'
    [javac] '-O'
...
    [javac] directory does not exist: -O

It seems that ant passes the -O option to the javac compiler while
ecj-boostrap does not support this option.
How this bug should be treated? Implement the -O option in
ecj-boostrap or to patch ant to handle ecj in a different way?

Sanyi

ii  ant                  1.6.5-1              Java based build tool like make
ii  ecj-bootstrap        3.0.1-5              bootstrap version of the
Eclipse Java compiler
ii  java-gcj-compat-dev  1.0.30-4             Java runtime environment with GCJ



Reply to: