RFC: changes to configure.in and configure

Scott Bambrough scottb@netwinder.org
Tue Aug 1 08:37:00 GMT 2000


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


More information about the Gdb-patches mailing list