This is the mail archive of the gdb@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: trying to build gdb with renamed cygwin1.dll


On Mon, Apr 30, 2007 at 11:09:12AM -0400, Fahd Abidi wrote:
> Hello,
> 
> I was trying to build a gdb version that would use a renamed version of
> cygwin1.dll and some of the other dll's that gdb seem to depend on. I
> determined all the dll's that gdb relies on using the "cygcheck" command
> 
> My purpose is to try and build a gdb that so I can move it across
> different windows platforms with out worrying about newer or older
> versions of the cygwin dll interfering. I already looked at the MinGW
> option but the newer versions of gdb do not build against mingw32.

IMO, this is a really bad idea. The cygwin1.dll uses shared memory 
at a fixed location. So, renaming the dll won't help. You will still 
get the same old errors.

> My procedure was something like so, copied and renamed the dll's
> cygwin1, cygiconv-2,cygitl-3,cygcurses-8,tcl84,tk84 into another
> directory. Then tried to compile gdb against these renamed dll's by
> using the --libdir configure option. Unfortunately the resulting gdb
> executable totally ignores these renamed libraries and still links
> against the original dlls.
> 
> Is this going to be possible to do?

No, don't do it. Stop where you are.

Bob Rossi


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