Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
I have found http://docs.freebsd.org/info/gcc/gcc.ifo.Optimize_Options.html. I am about to build a new kernel am starting to dig a bit deeper into things I have, until now, taken for granted. The above link is very informative in technical terms about how to control optimization but I find it

Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Roland Smith
On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. I am about to build a new kernel am starting to dig a bit deeper into things I have, until now, taken for granted. The above link is very

Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Scott Bennett
On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl wrote: On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. I am about to build a new kernel am starting to dig a bit deeper into

Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl wrote: On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. I am about to build a new kernel am starting to dig a bit deeper

RE: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Johan Hendriks
On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl wrote: On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. I am about to build a new kernel am starting to dig a bit deeper

Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl wrote: On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. I am about to build a new kernel am starting to dig a bit

Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Roland Smith
On Wed, Aug 05, 2009 at 07:38:20AM -0500, Scott Bennett wrote: On Wed, 5 Aug 2009 12:19:23 +0200 Roland Smith rsm...@xs4all.nl wrote: On Wed, Aug 05, 2009 at 10:54:07AM +0100, David Southwell wrote: I have found http://docs.freebsd.org/info/gcc/gcc.info.Optimize_Options.html. I am

Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread Roland Smith
On Wed, Aug 05, 2009 at 02:02:05PM +0100, David Southwell wrote: Additionally, compiler settings for building the kernel can be set with COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is not guaranteed to work. If you don't know what you are doing, do not use COPTFLAGS

Re: Learning about Control of Optimization -- for dummies please

2009-08-05 Thread David Southwell
On Wed, Aug 05, 2009 at 02:02:05PM +0100, David Southwell wrote: Additionally, compiler settings for building the kernel can be set with COPTFLAGS in /etc/make.conf. Using anything other than -O or -O2 is not guaranteed to work. If you don't know what you are doing, do not use