Hello,

On 06-May-13 15:07, Martin Michlmayr wrote:
> * Andreas Jochens <[EMAIL PROTECTED]> [2006-04-19 11:49]:
> >  CXXFLAGS+=-O3 -DNDEBUG -mpowerpc-gfxopt
> > -ifeq ($(POWERPCG4),true)
> > -CXXFLAGS+=-mcpu=7450 -maltivec -mabi=altivec
> > -else
> > -CXXFLAGS+=-mcpu=750
> > -endif
> > +#ifeq ($(POWERPCG4),true)
> > +#CXXFLAGS+=-mcpu=7450 -maltivec -mabi=altivec
> > +#else
> > +#CXXFLAGS+=-mcpu=750
> > +#endif
> 
> Is it a good idea to change the behaviour on 32 bit powerpc?  Why is
> POWERPCG4 true on powerpc64?

POWERPCG4 is false on powerpc64. The FTBFS on ppc64 comes from the
'CXXFLAGS=-mcpu=750'. The package builds on ppc64 if that single line
is commented out. To avoid changing the 32 bit powerpc case, a
special alternative for powerpc64 could be introduced.

On the other hand I think that using -mcpu is almost always a bad
thing. I am not sure if the current -mcpu settings really make sense
on 32 bit powerpc generally. The altivec setting may be useful if it is 
available, though.

Regards
Andreas Jochens



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to