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:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9):
undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
http://gcc.gnu.org/java/faq.html#4_1
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
are only
abstract classes, interface classes and classes without main methods,
so I would like
to compile the sources to *.class files
Phil
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple