| Date: Thu, 26 May 2005 12:51:03 +0100
| From: Bryan O'Donoghue <typedef at eircom.net>
| > Try gcc -O2 h.c [ ... ]
| It's worth noting that valen's binary had strip run on it.
he was also comparing with embedded systems,
where the most interesting "size" numbers are
usually the static and dynamic memory sizes,
not the executable file size. the static memory
size can be estimated with size(1). strip(1) does
not effect this, but does change the file size.
hence, I used `size' and completely ignored the
file size (which depends on the format, e.g., ELF,
COFF, &tc, even when the compiled code is identical,
as well as whether or not its been `strip'ped, built
with extra debug info (e.g., `gcc -g'), and so on).
Experienced (20+ yrs) kernel/software Eng: | Brian Foster Montpellier,
• Unix, embedded, &tc; • Linux; • doc; | blf at utvinternet.ie FRANCE
• IDL, automated testing, process, &tc. | Stop E$$o (ExxonMobile)!
Résumé (CV) http://www.blf.utvinternet.ie | http://www.stopesso.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!