GCC v2.95 doesn't work (a bug?)
Teofilis Martisius
smart@org.ktu.lt
Thu Oct 7 12:48:00 GMT 1999
Hello,
I hope this is the right place to send this. If no, maybe you
could tell me who would be interested in fixing these problems.
I was using mingw32 to make a postgresql ODBC driver dll.
When compiling psqlodbc.c, it produces .o file with
symbol _DllMain@12???? instead of _DllMain@12 in its
export section (here ???? are four random
characters, maybe garbage?). Then dlltool tries to
make export file with this garbage and fails. Either
these 4 chars should not be there, or dlltool should
ignore them. When I change them into 00 00 00 00 with
a hex editor in .o file, everything seems to work fine.
Does it happen with anyone's else tools too? I have
commented out most of code. It shouldn't take long to try.
(.c file, makefile, gcc & dlltool results in attachment)
My gcc & dlltool versions are:
gcc version 2.95 19990728 (release)
GNU C:\C\MINGW32\BIN\DLLTOOL.EXE 2.9.4
Teofilis Martisius
smart@org.ktu.lt
psqlodbc.zip
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list