Re: Right C FLAGS for my processor

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

 



model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.60GHz

http://gentoo-wiki.com/Safe_Cflags#Pentium_4 :
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"

But remove -fomit-frame-pointer if you ever want to debug stuff.

On 04/07/07, Brian Dessent <brian@xxxxxxxxxxx> wrote:
If it were me I would use "-O3
-march=pentium4" and stop reading whatever gentoo nonsense says that
it's a good idea to enable dangerous options as defaults.

The safe CFLAGS page for Gentoo never even recommends -O3, let alone
all those scary ones.  The ricers are just vocal, not the majority.

~ Scott

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux