This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Building GDB 7.3.92 with MinGW
> Date: Thu, 12 Jan 2012 15:53:55 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: asmwarrior@gmail.com, dje@google.com, gdb-patches@sourceware.org
>
> > > 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.
>
> This is not what I meant, or did I misunderstand you.
No, the misunderstanding is all mine. Sorry.
> Here is what I am trying to say. It is perfectly fine to do:
>
> % /path/to/gdb/configure --prefix=c:/usr/my-gdb
> % make
> % make install
> % cp -R c:/usr/my-gdb c:/foo/bar
>
> Relocations should still be working, and our own experience with
> that reveals no obvious problem.
Then I guess asmwarrior should try to find out why it doesn't work for
him.