This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC: changes to configure.in and configure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]