java/3248: problem with java option -femit-class-files

Tom Tromey tromey@redhat.com
Thu Jul 5 19:45:00 GMT 2001


>>>>> "Alex" == apbianco  <apbianco@gcc.gnu.org> writes:

Alex>     I have a patch for that. I don't know if it's the best way
Alex>     to fix it. Anyone with better knowledge of jvspec.c?

The patch doesn't check for `-femit-class-files' (with the `s'), which
is also allowed.

You could also put the error in lang-specs.h.  That is probably simpler.

If we're going to let users use -femit-class-file{,s} then we must
document them in gcj.texi.

Hmm... we don't document -fassume-compiled, -fencoding (alternate
spelling of --encoding -- I don't know whether we're supposed to),
-fclasspath (likewise), -fCLASSPATH (likewise), or -foutput-class-dir
(likewise, for `-d').  I'll write a patch.

Tom



More information about the Gcc-bugs mailing list