static size

Evgeny Stambulchik fnevgeny@plasma-gate.weizmann.ac.il
Mon Jun 26 15:56:00 GMT 2000


On 26-Jun-00 Brian Gough wrote:

>  The final size of executable files should be about the same, since the
>  linker should only include the .o files that are used by the program.

Plus the object files the functions in those .o files depend upon etc - while
linking against a dynamic library would add only a negligible amount to the
total size (pointers to the function table).

Regards,

Evgeny

PS. And doing `strip <executable>' would make the code much smaller in size ;-).

   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  |
 |______________________________________________________________|



More information about the Gsl-discuss mailing list