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]
Other format: [Raw text]

Re: compiling gdb to talk to cross-compiled gdbserver


Me> I'm looking for the instructions for building a gdb to run on my
Me> i386 desktop that can talk to a gdbserver that is running on my mipsel
Me> target.  I have done this before but for the life of me I can't find
Me> the configure switches.  

BTW, I'm building gdbserver with the following:

mkdir -p ../gdb-6.2-gdbserver-build && cd ../gdb-6.2-gdbserver-build && TARGET_ROOT=../staging AR=mipsel-abcd-linux-gnu-ar AS=mipsel-abcd-linux-gnu-as LD=mipsel-abcd-linux-gnu-ld NM=mipsel-abcd-linux-gnu-nm CC=mipsel-abcd-linux-gnu-gcc GCC=mipsel-abcd-linux-gnu-gcc CXX=mipsel-abcd-linux-gnu-g++ STRIP=mipsel-abcd-linux-gnu-strip RANLIB=mipsel-abcd-linux-gnu-ranlib ../gdb-6.2/gdb/gdbserver/configure --prefix=../staging --build=i386-linux --host=mipsel-abcd-linux-gnu --target=mipsel-abcd-linux-gnu

It is the gdb compile that I can't figure out the configure for.

Thanks,
Dave


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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