FYI: Problems solved by switching to gcc 3.3
Mohan Embar
gnustuff@thisiscool.com
Tue Jun 10 18:44:00 GMT 2003
Hi Tom,
>Jost> There is a small glitch when creating a cross compiler with gcc
>Jost> 3.3. One file looks for FIONREAD and then calls a method that
>Jost> does not exist in mingw.
>>Could you be more specific? Where does this happen?
Tom: We (the "MingW people") know about this. Danny has been pretty
active with resolving this. It was a last-minute patch to libstdc++ (I think even
after the "code freeze") and may have already been fixed in the mainline,
though I haven't checked recently.
>Jost> The other problem was solved by re-declaring JNI_CreateJavaVM and
>Jost> JNI_GetDefaultJavaVMInitArgs as extern int after including jni.h
>>Could you go into more detail here? In theory this shouldn't be
>necessary, since these functions are declared in jni.h. If there is a
>bug in jni.h, let's find it and fix it.
This is also a Win32-specific issue related to how Win32 handles exports
and shared-library linking. Jost's is a special case which is non-standard
for Win32.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
More information about the Java
mailing list