This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC v2.95 doesn't work (a bug?)



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]