public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* RE: Help with compiling GDB for PPC
@ 2006-02-21  6:55 Sachin Rao
  2006-02-21 18:12 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Sachin Rao @ 2006-02-21  6:55 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Thanks, & do I need to change the include path in the Makefile to point
to the native PPC Linux include path? I could not find the reference to
the path anywhere in the generated Makefile...

--

Sachin.

-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org] 
Sent: Monday, February 20, 2006 7:18 PM
To: Sachin Rao
Cc: gdb@sources.redhat.com
Subject: 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Help with compiling GDB for PPC
  2006-02-21  6:55 Help with compiling GDB for PPC Sachin Rao
@ 2006-02-21 18:12 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-02-21 18:12 UTC (permalink / raw)
  To: Sachin Rao; +Cc: gdb

On Mon, Feb 20, 2006 at 08:16:48PM -0800, Sachin Rao wrote:
> Thanks, & do I need to change the include path in the Makefile to point
> to the native PPC Linux include path? I could not find the reference to
> the path anywhere in the generated Makefile...

Probably not if your compilers work.

-- 
Daniel Jacobowitz
CodeSourcery

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Help with compiling GDB for PPC
  2006-02-20  7:26 Sachin Rao
@ 2006-02-20 18:57 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-02-20 18:57 UTC (permalink / raw)
  To: Sachin Rao; +Cc: gdb

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Help with compiling GDB for PPC
@ 2006-02-20  7:26 Sachin Rao
  2006-02-20 18:57 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Sachin Rao @ 2006-02-20  7:26 UTC (permalink / raw)
  To: gdb

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-21 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-21  6:55 Help with compiling GDB for PPC Sachin Rao
2006-02-21 18:12 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2006-02-20  7:26 Sachin Rao
2006-02-20 18:57 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).