delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Date: | Sun, 10 Oct 1999 18:37:06 +0300 |
From: | Paul Sokolovsky <paul-ml AT is DOT lg DOT ua> |
X-Mailer: | The Bat! (v1.32) S/N 34D3AC61 |
Reply-To: | Paul Sokolovsky <paul-ml AT is DOT lg DOT ua> |
X-Priority: | 3 (Normal) |
Message-ID: | <8775.991010@is.lg.ua> |
To: | bughz AT iname DOT com, Teofilis Martisius <smart AT org DOT ktu DOT lt> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re[2]: GCC v2.95 doesn't work (a bug?) |
In-reply-To: | <991009105213CW.28088@webb2.iname.net> |
References: | <991009105213CW DOT 28088 AT webb2 DOT iname DOT net> |
Mime-Version: | 1.0 |
Hello bughz, bughz AT iname DOT com <bughz AT iname DOT com> wrote: bic> Teofilis Martisius <smart AT org DOT ktu DOT lt> wrote : >> 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 bic> I have got a similar problem in compiling the FLTK framework (LGPL, written in c++, bic> http://www.fltk.org) as a dll using mingw32. [] bic> So is this a problem of dllwrap/dlltool or is it a problem in gcc/mingw32 ? If you use Win95/98 it's same old bug with lseek()-past-end-of-file. POSIX requires that if such call was made followed by write(), skipped space to be zeroed. But win9x leaves previous physical media contents there. That almost surely hits when producing dlls, and I submitted work-around-like patch for that (see http://www.is.lg.ua/~paul/devel/binutils.html), but it specially applies only to PE files, not generic COFF. After that I several times saw problem described by you, but only during experiments and never in real work ;-) , so I didn't bother to fix it yet. bic> Thank you in advance, bic> Harm-Jan Zwinderman mailto://bughz AT iname DOT com Best regards, Paul mailto:paul-ml AT is DOT lg DOT ua -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |