Mingw32 gcj & CNI
Bryce McKinlay
mckinlay@redhat.com
Sun Aug 29 20:07:00 GMT 2004
Guironnet Fabien wrote:
> Hello,
>> I've build 2 cross-compilers for win32 (gcc 3.4.2 (20040709) et 3.5.0
> (20040822)).
> If I try :
> mingw32-g++ -c test.cc -I/usr/share/gcc3.5.0-cross/include/
> mingw32-gcj -o text.exe test.o
>> the compilation works fine but the last command gives :
> /usr/share/gcc3.5.0-cross/lib/gcc/mingw32/3.5.0/../../../../mingw32/lib/libgcj.a(win32-threads.o)(.text+0x359):
> In function
> `_Z15_Jv_ThreadStartPN4java4lang6ThreadEP12_Jv_Thread_tPFvS2_E':
> /mnt/share/tmp/gcc-cross/work3.5.0-20040822/gcc.tmp/gcc.src/libjava/win32-threads.cc:382:
> undefined reference to `_GC_CreateThread@24'
Try a cvs update. This should be fixed by:
2004年08月23日 Bryce McKinlay <mckinlay@redhat.com>
* win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h
include.
Reported by Danny Smith.
Bryce
More information about the Java
mailing list