This is the mail archive of the
mailing list for the Cygwin project.
Re: gcj exception compiling
On 2011-11-07 03:05:48 +0100, Yaakov (Cygwin/X) said:
On Sun, 2011-11-06 at 21:16 +0100, Philipp Kraus wrote:
If I try to compile a java code with "gcj mysource.java" I get the error:
undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
In a posting earlier I have written, that the class does not have any
main method, so the
information to setup the --main flag does not help. In my project there
abstract classes, interface classes and classes without main methods,
so I would like
to compile the sources to *.class files
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple