This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


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: Help with compiling GDB for PPC


On Sun, Feb 19, 2006 at 09:53:41PM -0800, Sachin Rao wrote:
> 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?

You need to set one autoconf variable for readline in order for this to
work, I think it's bash_cv_have_mbstate_t=yes.

-- 
Daniel Jacobowitz
CodeSourcery


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