How to build gdb and gdbserver

David Korn
Thu Jun 21 03:50:00 GMT 2001

>-----Original Message-----
>From: Kai Ruottu [ ]
>Sent: 21 June 2001 11:16

>> cd build-gdb
>> ./gdb-5.0/configure --target=powerpc-linux 
>> make all install
>> ./gdb-5.0/configure --host=powerpc-linux 

> The default for the '--target=' is the build system, just as 
>for the '--host=',
>so using something else for them needs telling them. The 
>complete case like :
>  --build=i686-linux --host=powerpc-linux --target=powerpc-linux
>is always preferred, but configure can solve the '--build=' (it cannot be
>anything else, only the build system)

  But isn't gdbserver going to be like glibc: the host is the system it
runs on, and it has no concept of 'target' ?  gdbserver is a native tool,
not a cross-tool.  (I must admit, when I was working on it myself last
weekend, I just ripped all the files out of the gdb source tree and put
together an ad-hoc build).

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