Re: gcj problem...

2004-02-18 Thread Jason Fu
I do remember there's the same usage of gcj with javac and I did not notice the changes as mentioned in the links you mention. Anyway, thanks. Jason > On Mon, 16 Feb 2004, Jason Fu wrote: > >> Any idea about it... >> >> $ gcj HelloWorld.java >> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../li

Re: gcj problem...

2004-02-16 Thread Randall R Schulz
Jason, You need to learn about the ways in which GCJ differs from the stock Sun Java Tools. In particular, you need to use the "--main=" option to nominate the class that bears the primary entry point. See for more. In general, familiarize yourself with t

Re: gcj problem...

2004-02-16 Thread Igor Pechtchanski
On Mon, 16 Feb 2004, Jason Fu wrote: > Any idea about it... > > $ gcj HelloWorld.java > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.text+0x7c): > undefined reference to [EMAIL PROTECTED]' > collect2: ld returned 1 exit status > > ===

gcj problem...

2004-02-16 Thread Jason Fu
Any idea about it... $ gcj HelloWorld.java /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.text+0 x7 c): undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status = public class HelloWorld { pu