Patch: gcj and rhug build regression

Andrew Haley aph@redhat.com
Wed Jan 29 18:43:00 GMT 2003


Tom Tromey writes:
 > >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
 > 
 > Andrew> I would have used flag-syntax-only instead of
 > Andrew> flag_emit_class_files, but I don't suppose it matters.  We
 > Andrew> seem to randomly use one or the other.
 > 
 > I think the bug would still occur with flag-syntax-only, since in this
 > case that flag would be 0.

I don't think so.

$ gcj -C -v Smu.java

[ ... ]
/local/aph/head/install/lib/gcc-lib/i686-pc-linux-gnu/3.4/jc1 Smu.java -quiet [ ... ] -fsyntax-only -femit-class-files -o /dev/null

So flag-syntax-only is probably a better choice than
flag_emit_class_files, since it works in both cases.

Andrew.



More information about the Java-patches mailing list