Hi,
Some of you might by now be sick of my messages
regarding GCJ/MinGW, but in all fairness, I must
post an update on my progress so far. ;-)
Well, I have FINALLY been able to build and install
GCJ/MinGW (Yay!) but there still seems some way to
go. The simple HelloWorld program gives the following
errors:
-------------------------- 8< --------------------------
/h/temp > /c/gcc3.2/tgcc/bin/gcj T.java
C:\TEMP/ccaEaaaa.s: Assembler messages:
C:\TEMP/ccaEaaaa.s:26: Warning: .stabs: description field '60005' too
big, try a different debug format
C:\TEMP/ccaEaaaa.s:55: Warning: .stabs: description field '10001' too
big, try a different debug format
c:/gcc3.2/tgcc/bin/../lib/gcc-lib/mingw32/3.2/../../../libmingw32.a(main.o)(.text+0x7f):main.c:
undefined reference to `WinMain@...'
-------------------------- 8< --------------------------
While I can understand the source of the ".stabs" errors
(I should have used a different debugging format - dwarf32?),
I do not understand the WinMain@... errors, because it comes
even when I give the -mconsole command line option to
GCJ.
BTW, The compiler automatically defaults to using
the "crt2.o" startup code from mingw-runtime, instead of
"crtbegin.o" from GCC 3.2, in which case, the code for
that should also be a part, IMHO, of the GCC distro.
Thanks a lot, once again, for your help and support
guys. And please tell me if I'm wasting too much of
your time - and bandwidth. :-)
Sincerely Yours,
Ranjit Mathew.
|