On Sat February 19 2005 21:49, Nick Smith wrote:

> <quote who="Drew Kirkpatrick">
>
> > I've got a Blueberry iBook, with a 300 MHz ppc, and these seem
> > very
> > stable to me:
> >
> > CFLAGS="-O2 -mtune=G3  -pipe"

> well the default file that game with the install has:
> CFLAGS="-02 -mtune=powerpc -fno-strict-aliasing -pipe"

 (Note that your "-O2" needs to contain a letter O, not a number zero, as you 
have typed above... otherwise, I'm sure it will puke.)

> i was just tring to add some more and it puked, do you know what
> the differences are between the G3 and powerpc flags? what
> should i be using? is one better that the other?

 Here on a 450 MHz G3, I've been using these flags for many months with no 
problems:

CFLAGS="-O3 -mcpu=G3 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"

 As to the difference between G3 and powerpc, G3 is a subset of the larger 
category, powerpc.  PPC machines are made by Apple, IBM, and others; G3 is a 
very specific version, among the processors that implement the PowerPC 
instruction set.  So, by specifying G3, we are telling the compiler exactly 
what kind of CPU we have, so that it can enable any processor-specific 
performance enhancements.

 I mostly found the information on CFLAGS from the GCC documentation.  You can 
view the GCC info pages to find it, and if you use KDE you can paste these 
into Konqueror to go directly to the relevant sections:

info:/gcc/Optimize Options
info:/gcc/RS/6000 and PowerPC Options

 Good luck!

-- 
// Carl Hudkins :: Jabber  [EMAIL PROTECTED] :: PGP 50238D9E
//
//               ==]  What would Jeeves do?  [==
// 
//                            (X-Spam-To: [EMAIL PROTECTED])

--
[email protected] mailing list

Reply via email to