This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Would it be possible to add an explicit warning that main has not been specified, rather than allowing it to fall through to the linker to report? [warnes@hydra prototype.1]$ gcj *.class /usr/lib/crt1.o(.text+0x36): undefined reference to `main' collect2: ld returned 1 exit status Perhaps something like: [warnes@hydra prototype.1]$ gcj *.class gcj: Warning: no class specified for main, use "--main=" parameter . /usr/lib/crt1.o(.text+0x36): undefined reference to `main' collect2: ld returned 1 exit status Also, Thanks to all the developers and contributors! (I've been waiting anxiously for gcj and libgcj to come out.) -Greg