`gdbserver' in cross compiled builds
Andrew Cagney
ac131313@cygnus.com
Sat Feb 23 13:26:00 GMT 2002
> 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
More information about the Gdb
mailing list