Re: compiling kernel with -Os or -O2

2000-06-19 Thread Jacob A. Hart
A word of advice for those who use modules: If you've recompiled the kernel with -O and the system still won't boot, be sure to set CFLAGS="-O -pipe" in /etc/make.conf so that your modules are also compiled with -O. A -O kernel with -O2 modules _doesn't_ work (on my system anyway). Now that mod

Re: compiling kernel with -Os or -O2

2000-06-19 Thread Alexander Leidinger
On 18 Jun, Donn Miller wrote: > Anyone try to compile the kernel with an optimization higher than -O, > such as -Os or -O2? For example, when I compile my kernel with -Os, I FreeBSD 5.0-CURRENT #2: Fri Jun 16 17:49:32 CEST 2000 COPTFLAGS= -Os -march=pentiumpro -pipe -Wall -funroll-loops -fschedu