Re: PPC cflags

David Bélanger <[email protected]>
Newsgroups gmane.linux.gentoo.ppc
Message-ID <[email protected]>
On Sat, Feb 19, 2005 at 09:40:28PM -0500, Nick Smith wrote:
> can someone point me to a list of cflags that are compatible
> with PPC? i found some but it doesnt say if they are PPC
> specific or not, cause that was the problem with my boot strap
> it didnt like -march=powerpc or -ftracer and i would like to
> know exactly what i can use with this new hardware. G3 350Mhz.
> 

Hi,

Try:
-O2 -mcpu=750 -pipe

I use:
-O3 -mcpu=750 -pipe
(Note: -O3 might improve or decrease performance but is stable).

About:
-fno-strict-aliasing
This strict-aliasing is enabled by default in -O2, meaning that apps where
it causes problem should disable it.

If you want to be on the safe side, then you can disable it all the
time but I don't do it.

David

---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt


--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.