Building GDB 7.3.92 with MinGW

Eli Zaretskii eliz@gnu.org
Thu Jan 12 11:54:00 GMT 2012


> Date: Thu, 12 Jan 2012 10:47:21 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: asmwarrior <asmwarrior@gmail.com>, dje@google.com,	gdb-patches@sourceware.org
> 
> > So I think in the long run it would be a Good Thing for GDB to try to
> > look for its data files relative to the place where the executable is
> > installed, and not only on Windows.  But that is a separate project;
> > at least I would love to see patches along these lines.
> 
> I think we already, unless I misunderstood what you are trying to say.
> Every night, we build GDB on one Windows machine and then test it on
> all other Windows machines we have, using a different install prefix.
> GDB seems to be able to find all auxilary files without problem.
> 
> The only case when path "relocation" is turned off is when the user
> configured directories such as the gdb-datadir using a path that is
> not a subdir of the prefix.

That latter case is what I had in mind.  In general, it is a bad mojo
to force Windows users to install binaries in some specific tree or
under a certain parent directory.  E.g., the binary could be
configured for d:/usr as a prefix, but installed in c:/foo/bar.



More information about the Gdb-patches mailing list