`gdbserver' in cross compiled builds
Daniel Jacobowitz
drow@mvista.com
Sun Feb 24 08:37:00 GMT 2002
On Sun, Feb 24, 2002 at 12:26:20PM +0100, Christoph Plattner wrote:
> Yes, that's clear for me. It is the same for glibc.
> With this point I have NO problems.
>
> The problem is simple in the tree setup !
>
> In my built (objects) tree, there is NO "gdbserver" subdirectory
> created by configuring, in the gdb source tree, the configuration
> cannot be done, because all generated files (configs, header files,
> etc) are written to the build tree (OBJECT tree).
Andrew explained this to you at least twice.... if the build tree is
for a cross debugger, you CAN NOT build gdbserver in it.
> So my problems are not in the config parameters, but simple, where
> (on which path) is called what ?
> And if I do some hacks manually, PPC support (for example) cannot be
> built. Why does the gdbserver directory work so bad ?
Use current CVS instead. I've spent months fixing this.
In fact, if you get current CVS, you can:
mkdir obj
cd obj
../src/gdb/gdbserver/configure
make
And build only the server.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list