Help with compiling GDB for PPC

Sachin Rao Sachin@sinett.com
Mon Feb 20 07:26:00 GMT 2006


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.



More information about the Gdb mailing list