At 02:51 PM 2/24/00 -0800, David O'Brien wrote:
>On Wed, Feb 23, 2000 at 02:27:31PM +0800, User URANIA wrote:
>> I also set these flags at my /etc/make.conf
>> CFLAGS= -mpentiumpro -O6 -pipe -funroll-loops -fexpensive-optimizations
>> COPTFLAGS= -mpentiumpro -O6 -pipe -funroll-loops
>
>-O6 (any -O above 3) is nonsense with the base GCC compiler.
>I really have to wonder what people think they are getting by using such
>hight -O values.
Maybe due to things like the Apache ports' Makefile:
#
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
#
.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
OPTIM+= -DBUFFERED_LOGS
CFLAGS+= -O6 -fomit-frame-pointer
.endif
... and not reading the man page or looking at the source.
Hey <program> does this, looks good, and so....
Also, the various optimization levels (et all) choice keeps coming up, but
-O6 is not mentioned in the man pages. Must be magic then. ;)
Jeff Mountin - [EMAIL PROTECTED]
Systems/Network Administrator
FreeBSD - the power to serve
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message