Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <37FCEA66.CA894B6@org.ktu.lt> Date: Thu, 07 Oct 1999 21:45:58 +0300 From: Teofilis Martisius X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: GCC v2.95 doesn't work (a bug?) Content-Type: multipart/mixed; boundary="------------5A4FDC0C75443E06BAB418C2" --------------5A4FDC0C75443E06BAB418C2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AT 12???? instead of _DllMain AT 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 AT org DOT ktu DOT lt --------------5A4FDC0C75443E06BAB418C2 Content-Type: application/x-zip-compressed; name="psqlodbc.zip" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="psqlodbc.zip" UEsDBAoAAAAAALCSRCcAAAAAAAAAAAAAAAACABEAMC9VVA0AB/zF+DfQw/c3+8X4N1BLAwQK AAAAAAANlEQnAAAAAAAAAAAAAAAAAgARADEvVVQNAAeKyPg30MP3N4jI+DdQSwMEFAAAAAgA TZREJ4/97srRAQAAvAQAAAQAEQBkYy5zVVQNAAcCyfg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gAABwAJAAAAAAAAACAAtoGtBgAAZGxs LnRtcFVUBQAHAsn4N1BLAQIWCxQAAAAIAE6URCcXJ7ArtgAAAD8CAAAEAAkAAAAAAAAAIAC2 gboKAABkdC5vVVQFAAcEyfg3UEsBAhYLFAAAAAgATpREJ2NUo7RaAAAAmQAAAAQACQAAAAAA AQAgALaBowsAAGR0LnNVVAUABwTJ+DdQSwECFgsUAAAACABykkQns6QOx5wAAAAzAQAACAAJ AAAAAAABACAAtoEwDAAATWFrZWZpbGVVVAUAB4jF+DdQSwECFgsUAAAACAAIk0QnHw0+HsUE AAC+CgAACgAJAAAAAAABACAAtoEDDQAAcHNxbG9kYmMuY1VUBQAHoMb4N1BLAQIWCxQAAAAI AE2URCfy4W33UgEAAJwCAAAKAAkAAAAAAAAAIAC2gQESAABwc3Fsb2RiYy5vVVQFAAcCyfg3 UEsBAhYLFAAAAAgAJZREJ8QpQswEAQAAaAEAAAcACQAAAAAAAQAgALaBjBMAAHZlcnNpb25V VAUAB7bI+DdQSwUGAAAAAA4ADgBOAwAAxhQAAAAA --------------5A4FDC0C75443E06BAB418C2 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --------------5A4FDC0C75443E06BAB418C2--