How to build gdb and gdbserver

David Korn
Wed Jun 20 10:17:00 GMT 2001

>-----Original Message-----
>From: Yves Rutschle [ ]
>Sent: 20 June 2001 09:18

   Hi all,

>IIRC, the idea is simply to compile gdbserver separately as a
>normal cross-compiled program (CC=powerpc-linux-gcc, make, and
>it should work if it doesn't need any specific patches...)

  Yep, that's it.  You know the trick about cd'ing into a subdir of a
GCC build tree and doing "make all" there to only build that component?  It
works here too.  Configure for your debug host and "make all install" in
your top level dir; then configure for your debug target, cd into the
gdbserver directory, and make all there.  (You could make install as well
but it wouldn't be very useful!)  I was looking at this stuff over last
weekend, wondering whether to port gdbserver to vxworks...

we are not seats or eyeballs or end users or consumers.
we are human beings - and our reach exceeds your grasp.
                    deal with it.                      -

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list