optimize with -O2 or -O?

2003-11-04 Thread Zhang Weiwu
Hello. I'm running 5.1-RELEASE. I read the gcc man page. It is not clear what -O implys. Is -O equal to -O1 or -O2? If I wish to optimize making does it make sense to add CFLAGS=-O2 in the make.conf(5)? ___ [EMAIL PROTECTED] mailing list

Re: optimize with -O2 or -O?

2003-11-04 Thread Matthew Seaman
On Tue, Nov 04, 2003 at 04:20:41PM +0800, Zhang Weiwu wrote: Hello. I'm running 5.1-RELEASE. I read the gcc man page. It is not clear what -O implys. Is -O equal to -O1 or -O2? If I wish to optimize making does it make sense to add CFLAGS=-O2 in the make.conf(5)? -O is the same as -O1 Ah

Re: optimize with -O2 or -O?

2003-11-04 Thread Simon Barner
I read the gcc man page. It is not clear what -O implys. Is -O equal to -O1 or -O2? If I wish to optimize making does it make sense to add CFLAGS=-O2 in the make.conf(5)? Hi, -O == -O1 (see `info gcc' - Invoking GCC - Optimize Options) It is recommended not to use anything higher than -O