[Xorp-hackers] optimize=size only saves 2M

Bruce Simpson bms at incunabulum.net
Thu Dec 3 12:53:31 PST 2009


Hi all,

I just ran a build with 'optimize=size'. This tells gcc to use the '-Os' 
(optimize for lowest code size) optimization.

According to BSD's 'du -ch', this optimization only saves 2 megabytes, 
with all protocols installed (BGP, RIP, OSPF, PIM, IGMP, MLD, VRRP).

This optimization level can pessimize performance in some situations, so 
it is not the default.

thanks,
BMS



More information about the Xorp-hackers mailing list