This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Patch for arm-linux gdbserver
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- Cc: bgat at billgatliff dot com, Keith dot Walker at arm dot com, crossgcc at sources dot redhat dot com,gdb at sources dot redhat dot com
- Date: Fri, 1 Feb 2002 10:36:05 -0500
- Subject: Re: Patch for arm-linux gdbserver
- References: <20020131113611.A2242@saturn.billgatliff.com> <4.1.20020131181535.00b40f00@mhsun1.maidenhead.arm.com> <20020131153627.A3137@saturn.billgatliff.com> <20020131181024.A4883@nevyn.them.org> <200201312321.g0VNLKV11957@hyper.wm.sps.mot.com>
On Thu, Jan 31, 2002 at 06:21:20PM -0500, Peter Barada wrote:
>
> >You can't build gdbserver inside a cross-gdb tree. It has to be a
> >_target_ _native_ gdb tree (i.e. --host).
>
> What is the correct 'configure' to get a buildable gdbserver from
> gdb-5.1 for powerpc-linux, while building on a x86 linux machine?
> What are the complete steps?
Simply configure with --host=powerpc-linux. Then run configure
separately in the gdbserver directory if it did not get done, and make.
Note that to do that first step $CC must be a cross compiler.
Also note that PPC support for gdbserver is not currently available,
and may go in in a few days depending on some other factors.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer