From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: msnyder@redhat.com Cc: Scott Bambrough , GDB Patches Mail List Subject: Re: RFC: changes to configure.in and configure Date: Tue, 07 Nov 2000 20:07:00 -0000 Message-id: <3A08D009.4D0AEAB8@cygnus.com> References: <3985A85C.C246C623@netwinder.org> <39863CD3.A527CEC3@cygnus.com> <3986DF7C.FCDD8A65@netwinder.org> <3986E6A3.6B3C@redhat.com> X-SW-Source: 2000-11/msg00083.html Michael Snyder wrote: > > Scott Bambrough wrote: > > > > Andrew Cagney wrote: > > > > > > I'm not sure how this patch: > > > > > > -# else > > > +else > > > # GDBserver is only useful in a "native" enviroment > > > -# configdirs=`echo $configdirs | sed 's/gdbserver//'` > > > +configdirs=`echo $configdirs | sed 's/gdbserver//'` > > > fi > > > changequote([,]) > > > > 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? I think, the process of building cross comiling gdbserver should be kept separate to the normal config/build of GDB. Instead either: o a separatly tree configured for a canadian cross build (use cross compiler to cross compile gdbserver) o something very similar to newlib (newlib is built using the uninstalled cross compiler from the build tree) enjoy, Andrew