This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: `gdbserver' in cross compiled builds
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Christoph Plattner <christoph dot plattner at gmx dot at>
- Cc: gdb at sources dot redhat dot com
- Date: Sat, 23 Feb 2002 16:26:17 -0500
- Subject: Re: `gdbserver' in cross compiled builds
- References: <3C5B3201.2F2FB670@gmx.at> <3C77D1F6.1020704@cygnus.com> <3C780221.CF27FBDA@gmx.at>
> Hello,
>
> thanks for you answer, but my questions aimed to another point.
>
> Why is the gdbserver not built automatically also in cross builds ?
Are you configuring with:
..../configure --target=powerpc-linux-gnu
or
..../configure --host=powerpc-linux-gnu --target=powerpc-linux-gnu
--build=i386-linux-gnu
the former configures to build a cross debugger. The latter configures
to build a debugger (and gdbserver) that will run on the target system.
The latter assumes that you have a powerpc-linux-gnu-gcc installed
somewhere while the former doesn't.
Andrew