gcj flags

Boehm, Hans hans_boehm@hp.com
Thu Mar 22 13:46:00 GMT 2001


I have some simple questions about gcj usability, which I haven't seen
answered. Apologies if I missed the answers?
1) Shouldn't gcj --help list some of the more common options, e.g. -C,
--main, or -O? If it doesn't list options like -O which are handled
elsewhere, perhaps it should give some advice as to where to find those?
2) Is there a reason that --main is not implied if the linker is invoked to
generate an executable, and there is a single filename argument? As far as
I can tell, that's a pretty natural thing to type (I still do it regularly).
In the case of more than one file can't it just say "missing --main flag"?
I still forget the --main regularly when I'm running small tests. And the
current semantics of "fail in the linker" never seem to be what I meant :-)
.
Hans


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /