[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] Re: how do I build an i386 gdb that can talk to a mipsel gdbserver
From: |
David Wuertele |
Subject: |
[Gdb] Re: how do I build an i386 gdb that can talk to a mipsel gdbserver? |
Date: |
Tue, 16 Nov 2004 10:44:43 -0800 |
User-agent: |
Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (gnu/linux) |
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
Thanks,
Dave