Dynamically calling shared objects from statically build executable allowed

Andre Pany andre at s-e-a-p.de
Tue Feb 11 12:25:57 UTC 2020


On Monday, 10 February 2020 at 19:39:04 UTC, Ernesto Castellotti 
wrote:
> On Monday, 10 February 2020 at 19:00:36 UTC, Andre Pany wrote:
>> [...]
>
> Static libraries are simple collections of object files, there 
> is no difference between linking a static library or several 
> object files
>
> If you notice when going to compile the executable linka libdl 
> and the static library, then the executable will be linked to 
> dynamic library and will not be a static executable.

Thanks for the explanation.

Kind regards
André


More information about the Digitalmars-d-learn mailing list