This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Help with compiling GDB for PPC
- From: "Sachin Rao" <Sachin at sinett dot com>
- To: <gdb at sources dot redhat dot com>
- Date: Sun, 19 Feb 2006 21:53:41 -0800
- Subject: Help with compiling GDB for PPC
Hi,
We have a rather old version of GDB (5.2.1) cross-compiled for the PPC
target. I wish to use the latest GDB source to compile a newer version
of GDB using the native PPC compiler toolchain that we have. For this I
tried
./configure --target=powerpc-hardhat-linux --host=powerpc-hardhat-linux
And then modified the CC, LD, AS, AR defines in the Makefile to point
to the respective native PPC compiler tools, but the build failed, first
in the readline module.
I wanted to know if iam going about it the right way, or is there a
better way to accomplish this task?
Thanks,
--
Sachin.