[fpc-pascal] Re: linux: should we hard-code versioned or unversioned shared libraries in our apps?

Luca Olivetti luca at ventoso.org
Thu Aug 16 13:10:07 CEST 2012


Al 16/08/2012 9:50, En/na Michael Van Canneyt ha escrit:
>
>
> On Thu, 16 Aug 2012, Marco van de Voort wrote:
>
>> If dynamic linking is so great, why do we constant, constantly have these
>> discussions and worse all these illadvised changes?
>
> Because the problem is not in dynamic versus static.
>
> We would have exactly the same discussions if they were statically linked.
> Only it would be 'the app XYZ does not start, fails with library not
> found'.
> which would be a system message.

Static linking to me means the executable is self-contained and doesn't 
rely on any external libraries.
Maybe you mean "static" as in "the executable has the dynamic library 
name hardcoded and it will be automatically loaded by ld instead of 
dynloading it explicitly"?

Bye
-- 
Luca



More information about the fpc-pascal mailing list