The following program:
/* Do sweet f-all */
compiles with gcc 2.4.5 and lib.4.4.1 to about 10k.Quote:}
The /bin/swapon program (and many others in /bin and friends) is less than
4k _and_ does I/O. Can someone tell me how I can make my executables as
small as possible? Can someone tell me how swapon, sync and friends were
made so small?
When I do an "nm" on the above C program, I see all these included C++
iostream class functions. I gather from nm that these are being loaded in from
libc.a/libg.a. Is there any way to stop this happening?
Any ideas please??