public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/2370] Behavior of main compilation without --main is unfriendly
[not found] <20010323155600.2370.hans_boehm@hp.com>
@ 2004-10-01 16:28 ` fitzsim at redhat dot com
0 siblings, 0 replies; only message in thread
From: fitzsim at redhat dot com @ 2004-10-01 16:28 UTC (permalink / raw)
To: java-prs
------- Additional Comments From fitzsim at redhat dot com 2004-10-01 16:27 -------
I would like this to be even more friendly. Ideally,
gcj X.java
would generate --main automatically, as mentioned, and
gcj *.java
would generate --main if there was only one main method in the source files or
fail with a message listing the possible main methods if there were more than one.
I don't know enough about the front-end yet to know how to do this, but ideally
this is how it should work. I suppose the driver would have to be able to
search source files (and probably .class files too) for main methods, so that it
would be able to offer a list of possibilities.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |fitzsim at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2370
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-01 16:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20010323155600.2370.hans_boehm@hp.com>
2004-10-01 16:28 ` [Bug java/2370] Behavior of main compilation without --main is unfriendly fitzsim at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).