Old Computers, -Os, Stripping, and 4-STABLE

Nikolas Britton freebsd at nbritton.org
Sat Dec 18 09:58:25 PST 2004


Kris Kennaway wrote:

>On Wed, Dec 15, 2004 at 06:48:42AM -0600, Nikolas Britton wrote:
>
>  
>
>>1. I'd like to know if it's (relatively) safe to use -Os for CFLAGS and 
>>COPTFLAGS?
>>    
>>
>
>Only on 5.3 and above.
>
>Kris
>  
>

Thanks but I desided to try it anyways, I set -Os for CFLAGS and 
COPTFLAGS and cvsup'd 4-STABLE, built world and kernel with no build 
errrors and no other problems after reboot, then I cvsup'd and did a 
rebuild of all my ports, again no problems. I even rebuilt my kernel 
becouse I had some options I needed to add/remove, again no problems.

FreeBSD stumbleine.intranet 4.11-PRERELEASE FreeBSD 4.11-PRERELEASE #5: 
Thu Dec 16 07:04:09 CST 2004     
root at stumbleine.intranet:/usr/src/sys/compile/STUMBLEINE  i386

make.conf:
CPUTYPE=I586
CFLAGS= -Os -pipe
COPTFLAGS= -Os -pipe
KERNCONF=STUMBLEINE





More information about the freebsd-questions mailing list