This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How does one cross-compile gdbserver?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Dan Kegel <dank at kegel dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 29 Jan 2002 20:50:52 -0500
- Subject: Re: How does one cross-compile gdbserver?
- References: <3C574C25.8A2F007@kegel.com>
On Tue, Jan 29, 2002 at 05:28:05PM -0800, Dan Kegel wrote:
> I'm going crazy trying to build gdb 5.1.1's gdbserver
> in a cross-development environment.
>
> Has anyone here build one recently?
> If so, can you please post your recipe?
(Just the day for this answer...)
Same way as anything else! You need to have a compiler capable of
building target userland binaries, and a development environment set up
for same. You may need to run configure in the gdbserver directory
manually, with CC set appropriately. Note that you want a gdb
configured --host=<your target>, not --target=<>!
I don't give it good odds of compiling. I've tried several times to
clean that up and gotten stymied in various people's objections to my
methods (sorry Andrew). I'll be taking another stab at it this week I
think.
If you get it to build, drop the list a line with your platform.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer