Re: [Cooker] gdb PPC build fix

2002-08-20 Thread Stew Benedict


On Tue, 20 Aug 2002, Gwenole Beauchesne wrote:

> On Tue, 20 Aug 2002, cjw wrote:
> 
> > Apparently gdb now includes a simulator for PowerPC (and other archs, but
> > not i386),
> 
> PSIM (PowerPC simulator) was here since 1994. ;-)
> 
> > and there's a bug in the Makefile.in that prevents the gdb rpm from
> > building on PPC. The following patch fixes this (also attached).
> 
> Stew, can you check please?
> 
> > --- gdb-5.2.1/sim/Makefile.in.bak   1999-04-16 03:34:55.0 +0200
> > +++ gdb-5.2.1/sim/Makefile.in   2002-08-20 11:05:37.0 +0200
> > @@ -80,6 +80,11 @@
> > 
> >  FLAGS_TO_PASS = \
> > "prefix=$(prefix)" \
> > +   "bindir=$(bindir)" \
> > +   "mandir=$(mandir)" \
> > +   "infodir=$(infodir)" \
> > +   "includedir=$(includedir)" \
> > +   "libdir=$(libdir)" \
> > "exec_prefix=$(exec_prefix)" \
> > "against=$(against)" \
> > "AR=$(AR)" \
> > 

Verified - fails build without the patch.  I have an update I can submit
if you like.

Stew Benedict

-- 
MandrakeSoft
PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3
IRC: irc.openproject.net #cooker-ppc





Re: [Cooker] gdb PPC build fix

2002-08-20 Thread Gwenole Beauchesne

On Tue, 20 Aug 2002, cjw wrote:

> Apparently gdb now includes a simulator for PowerPC (and other archs, but
> not i386),

PSIM (PowerPC simulator) was here since 1994. ;-)

> and there's a bug in the Makefile.in that prevents the gdb rpm from
> building on PPC. The following patch fixes this (also attached).

Stew, can you check please?

> --- gdb-5.2.1/sim/Makefile.in.bak 1999-04-16 03:34:55.0 +0200
> +++ gdb-5.2.1/sim/Makefile.in 2002-08-20 11:05:37.0 +0200
> @@ -80,6 +80,11 @@
> 
>  FLAGS_TO_PASS = \
>   "prefix=$(prefix)" \
> + "bindir=$(bindir)" \
> + "mandir=$(mandir)" \
> + "infodir=$(infodir)" \
> + "includedir=$(includedir)" \
> + "libdir=$(libdir)" \
>   "exec_prefix=$(exec_prefix)" \
>   "against=$(against)" \
>   "AR=$(AR)" \
> 





[Cooker] gdb PPC build fix

2002-08-20 Thread cjw

Hi,

Apparently gdb now includes a simulator for PowerPC (and other archs, but
not i386), and there's a bug in the Makefile.in that prevents the gdb rpm
from building on PPC. The following patch fixes this (also attached).


--- gdb-5.2.1/sim/Makefile.in.bak   1999-04-16 03:34:55.0 +0200
+++ gdb-5.2.1/sim/Makefile.in   2002-08-20 11:05:37.0 +0200
@@ -80,6 +80,11 @@

 FLAGS_TO_PASS = \
"prefix=$(prefix)" \
+   "bindir=$(bindir)" \
+   "mandir=$(mandir)" \
+   "infodir=$(infodir)" \
+   "includedir=$(includedir)" \
+   "libdir=$(libdir)" \
"exec_prefix=$(exec_prefix)" \
"against=$(against)" \
"AR=$(AR)" \



greetings,

Christiaan



gdb-sim-build-fix.patch.bz2
Description: Binary data