This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcj does not compile Hello World
- From: Michael Still <mikal at stillhq dot com>
- To: <wadedl at gat dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Sun, 9 Jun 2002 06:23:25 +1000
- Subject: Re: gcj does not compile Hello World
On Fri, 7 Jun 2002 wadedl@gat.com wrote:
> gaws20> gcj -o HelloWorld HelloWorld.java
> /usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.1/crt1.o: In function `.nope':
> /usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.1/crt1.o(.text+0x5c): undefined reference to `main'
> collect2: ld returned 1 exit status
What does the source for your Java program look like?
Mikal
--
Michael Still (mikal@stillhq.com) UMT+10hrs