This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Right C FLAGS for my processor


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@dessent.net> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]