This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Support Windows extended error numbers in safe_strerror


On Wed, Feb 08, 2006 at 04:12:45PM -0800, Joel Brobecker wrote:
> > I always understood having two different versions of a DLL with the
> > same name as being the "DLL hell" problem.  Am I wrong?  I can't
> > believe that in the last 10 years that people have been talking about
> > this problem, MicroSoft didn't come up with a solution for it.  And
> > even if they didn't, the solution is simple: just ship the Cygwin
> > DLL's under a different name.  Or just link the Cygwin code
> > statically.  Or is that impossible on Windows?
>
> We've tried. Believe, we've tried very hard to come with a satisfactory
> solution that involves cygwin.

Yes, I know. (http://sourceware.org/ml/cygwin/2005-03/msg00700.html)
I had to literally edit the GDB binary to get it to run on my window's
machine because I use Cygwin for other reasons. If you didn't rename the
DLL to something of the same char length, it probably would have been
impossible.

Please see this thread I started about mismatched dll's and a possible
solution (towards the end).
http://www.cygwin.com/ml/cygwin/2006-02/msg00077.html

Very sorry to post this info here, however, I think it's related to the
discussion of only shipping GDB with Cygwin. Cygwin does have at least
this one *very major* limitation. With that said, I won't bring this up
again here.

Bob Rossi


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