This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcj flags


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]