How to build gdb and gdbserver
Kai Ruottu
kai.ruottu@luukku.com
Thu Jun 21 03:24:00 GMT 2001
Peter Barada wrote:
>
> cd build-gdb
> ./gdb-5.0/configure --target=powerpc-linux --prefix=/usr/local/cross-linux-tools
> make all install
> ./gdb-5.0/configure --host=powerpc-linux --prefix=/usr/local/cross-linux-tools
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)
> cd gdb/gdbserver
> make all
>
> And in this directory i should have a gdbserver, right?
Crossing fingers and wishing the best it should...
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list