This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to build gdb and gdbserver


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]