This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gcj problem...
- From: Jason Fu <tsfu at graduate dot hku dot hk>
- To: cygwin at cygwin dot com
- Date: Mon, 16 Feb 2004 21:20:59 +0800
- Subject: gcj problem...
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 `_WinMain@16'
collect2: ld returned 1 exit status
=====================================================
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
=====================================================
http://www.hkucs.org:8080/~tsfu/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/