--main=
Gregory R. Warnes
warnes@biostat.washington.edu
Tue Apr 13 17:36:00 GMT 1999
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
More information about the Java
mailing list