size of executables

Dan Mick dan at kfw.COM
Tue Dec 4 15:06:28 AEST 1990


In article <40449 at ut-emx.uucp> pefv700 at perv.pe.utexas.edu writes:

:Even a program which does nothing is 24576 bytes:
:
:skelly% cat nothing.c
:main() { }
:skelly% cc nothing.c
:skelly% ls -l a.out
:-rwx------  1 pefv700     24576 Nov 30 11:29 a.out
:What am I missing?

File padding to page sizes.  Try fooling with ld switches -n and -N.



More information about the Comp.unix.questions mailing list