On 07-Apr-99 John Polstra wrote: > In article <xfmail.990407190505.asmo...@wxs.nl>, > Jeroen Ruigrok/Asmodai <asmo...@wxs.nl> wrote: >> gcc compilation with -pipe -O2: >> >> 96 -rwxr-xr-x 1 root wheel - 97379 Mar 14 10:32 coolbrowse* >> 1064 -rwxr-xr-x 1 root wheel - 1076216 Mar 14 10:32 >> coolbrowse.static* > ... > > File sizes don't mean much. It would be more interesting to compare > the outputs of size(1).
As thou wishes: gcc with -pipe -O2: [asmo...@daemon] (47) $ ll xfmail 760 -r-xr-xr-x 1 bin bin - 767720 Jan 1 16:08 xfmail* [asmo...@daemon] (49) $ size xfmail text data bss dec hex filename 711165 53244 149924 914333 df39d xfmail [asmo...@daemon] (52) $ ll libxforms.so.0 512 -rw-r--r-- 1 root wheel - 513411 Jan 1 16:00 libxforms.so.0 [asmo...@daemon] (53) $ size libxforms.so.0 text data bss dec hex filename 412781 29556 53092 495429 78f45 libxforms.so.0 Now for egcs with -pipe -Os: [asmo...@daemon] (30) # ll xfmail 808 -r-xr-xr-x 1 bin bin - 811812 Apr 7 19:39 xfmail* [asmo...@daemon] (31) # size xfmail text data bss dec hex filename 753039 53616 150596 957251 e9b43 xfmail [asmo...@daemon] (16) # ll libxforms.so.0 512 -rw-r--r-- 1 root wheel - 513411 Apr 7 19:31 libxforms.so.0 [r...@daemon] (18) # size libxforms.so.0 text data bss dec hex filename 412781 29556 53092 495429 78f45 libxforms.so.0 --- Jeroen Ruigrok van der Werven <http://www.freebsdzine.org> asmodai(at)wxs.nl The idea does not replace the work... Network/Security Specialist <http://home.wxs.nl/~asmodai> *BSD: Powered by Knowledge & Know-how <http://www.freebsd.org> To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message