This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: cross compiled GDB
- To: Yu Xuanwei <yxw at chinacluster dot com>, gdb at sources dot redhat dot com
- Subject: Re: cross compiled GDB
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Wed, 27 Dec 2000 09:32:22 -0700
- References: <3A49AC2E.2531B8C@chinacluster.com>
On Dec 27, 4:45pm, Yu Xuanwei wrote:
> I'm going to utilize gdb in a cross environment. My host is Intel PC, my
> target is ARM. Now I wonder how to build a GDB for my remote debugging.
> I want to know whether the native built gdb on Intel is suitable for
> host gdb client. I know that the GDBserver on target should be compiled
> to ARM binary. Is there any architecture requisite for host gdb client?
When you configure gdb use the ``--target='' option. E.g,
../src/configure --target=arm-unknown-elf
Kevin