This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
GCC v2.95 doesn't work (a bug?)
- To: cygwin at sourceware dot cygnus dot com
- Subject: GCC v2.95 doesn't work (a bug?)
- From: Teofilis Martisius <smart at org dot ktu dot lt>
- Date: Thu, 07 Oct 1999 21:45:58 +0300
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