This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: changes to configure.in and configure
- To: msnyder at redhat dot com
- Subject: Re: RFC: changes to configure.in and configure
- From: Scott Bambrough <scottb at netwinder dot org>
- Date: Tue, 01 Aug 2000 11:31:24 -0400
- CC: Andrew Cagney <ac131313 at cygnus dot com>, GDB Patches Mail List <gdb-patches at sourceware dot cygnus dot com>
- Organization: Rebel.com
- References: <3985A85C.C246C623@netwinder.org> <39863CD3.A527CEC3@cygnus.com> <3986DF7C.FCDD8A65@netwinder.org> <3986E6A3.6B3C@redhat.com>
Michael Snyder wrote:
>
> Scott Bambrough wrote:
> >
> > This bit of the patch removes gdbserver from $configdirs unless it is a native
> > build.
>
> Why? What about host-x-host? What about embedded linux?
This is why:
"Configuring gdbserver you should specify the same machine for host and
target (which are the machine that gdbserver is going to run on. This
is not the same as the machine that gdb is going to run on; building
gdbserver automatically as part of building a whole tree of tools does
not currently work if cross-compilation is involved (we don't get the
right CC in the Makefile, to start with))."
This is a quote, from the README in the gdbserver directory. It is the reason I
re-enabled that part of the configure code.
Scott
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org