install gcj with mingw

Stefan Deseke s.deseke@gmx.de
Mon Oct 27 21:06:00 GMT 2003


It still don't work.
I installed these packages from www.mingw.org:
mingw-runtime-3.2.tar.gz
w32api-2.4.tar.gz
binutils-2.14.90-20030807-1.tar.gz
gcc-core-3.3.1-20030804-1.tar.gz
gcc-g++-3.3.1-20030804-1.tar.gz
gcc-java-3.3.1-20030804-1.tar.gz

I installed them in this order in a new empty folder but when I try to compile
a java program with. "gcj test.java" I still get an error message

C:/mingw/bin/../lib/gcc-lib/mingw32/3.3.1/../../../libmingw32.a(main.o)(.text+0
x97):main.c: undefined reference to `WinMain@16'

compiling C and C++ programs works fine.



More information about the Java mailing list