I just like to point out that also the binutils need to be patched.
The "standard" source that works fine for Linux has severe bugs with mingw32.
Maybe the absence of dllwrap indicates that you used the wrong source for the
There is a complete source packages for binutils on Mummits well known ftp site.
Use those, and all should be fine.
Am Don, 28 Sep 2000 schrieb Ray Kelm:
>> I would like to build relocatable DLLs (suitable for JNI) using
>> GCC from a Linux host. I've built the GCC cross compilier
>> (host=linux, target=i386) using the MinGW32 headers/libraries.
>> This cross compilier seems to work fine for building
>> I've found examples on building DLLs using MinGW32/Cygwin
>> (host=i386), but am not clear how this would be done from a
>> hosted cross compilier. The i386 based examples use the dllwrap
>> tool which seems to only be part of the 'prebuilt' gcc-2.95.2
>> packages for MinGW. Is this tool available for a Linux hosted
>> compilier? If not, can just gcc and dlltool accomplish the same
>> thing? Thanks in advance.
>It's part of binutils, and yes, it does exist on linux :)
>I use exactly this setup to cross-build JNI DLL's for an
>application at work...