static size
Brian Gough
bjg@network-theory.co.uk
Mon Jun 26 13:39:00 GMT 2000
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.
You can use 'nm' on the executable to see what symbols are being
included. If the whole library is included then that would indicate a
problem that would be worth knowing about.
Diego Saravia writes:
>
>
> I finally be able to do static using autoconf and automake
> Thanks to all people that help me.
>
> I like to compile static because you do not have to distribute or
> compile
> libraries in other machines
>
> When I use static in 0.6 the executable is huge,
> in 0.5 it was smaller
> When gcc links a library, puts all the library code in the executable?
> Is there a way to change that, no using dinamic, so gcc puts only the
> code
> that is used?
>
> Is really easy to work with only one gsl library file, but ...
>
> I have little experience with gcc, sorry if I am doing some silly
> error.
> --
> Diego Saravia
> dsa@unsa.edu.ar
>
More information about the Gsl-discuss
mailing list