This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: install gcj with mingw


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]