hard candy
08-04-2003, 01:38 PM
I was looking at another thread and decided to ask this question. It is about setting flags in Gentoo before compiling programs. It was triggered by the statement that the "-03" causes code bloat and slows the prgram down. I was going to post it in programming but after thinking and reading about it- it seems more of a difference of opinion and I figured it might belong in the "opinion" forum.
I'm confused, from what I have read the -03 flag is an "optimization" flag, which may not mean faster but I took it to mean more efficiently. Is this wrong?
Looking at this site, Freehackers (http://www.freehackers.org/gentoo/gccflags/flag_gcc3opt.html) , I used the Athlon XP 2000+ flags which include -03.
And this site seems to also suggest using the -03 flag. gcc optimization (http://computational-battery.org/Tools/gcc-opt-guide.html)
What do you think as to the best flags to use or if to use any at all.
I'm confused, from what I have read the -03 flag is an "optimization" flag, which may not mean faster but I took it to mean more efficiently. Is this wrong?
Looking at this site, Freehackers (http://www.freehackers.org/gentoo/gccflags/flag_gcc3opt.html) , I used the Athlon XP 2000+ flags which include -03.
And this site seems to also suggest using the -03 flag. gcc optimization (http://computational-battery.org/Tools/gcc-opt-guide.html)
What do you think as to the best flags to use or if to use any at all.