This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
gcj flags
- To: java at gcc dot gnu dot org
- Subject: gcj flags
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- Date: Thu, 22 Mar 2001 13:46:13 -0800
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