This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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