[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building packages and compiler flags



On 4/14/05, Arnaud FONTAINE <arnaud.fontaine@free.fr> wrote:
[ over 3 KB of context snipped, but thanks for top-quoting :-) ]
> CFLAGS="-O3 -mpowerpc -mtune=G4 -mcpu=G4 -mabi=altivec -maltivec
> -mpowerpc-gfxopt -mpowerpc-gpopt -mnew-mnemonics -mno-strict-align -pipe"
> 
> If you get an error with mtune or mcpu you should try with march (which is now
> deprecated)...

if your version of gcc doesn't like -mtune/-mcpu=G4, try -mtune=7400
(or 750 if you have a G3, but then I suppose you wouldn't want the
Altivec options, either)

-- 
- Charles Lepple



Reply to: