Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why are shared libraries so large in comparison to their static counterparts ?

0
Posted

Why are shared libraries so large in comparison to their static counterparts ?

0

Ans: Shared libraries reserve space for future expansion in the form of `holes’ which can be made to take no disk space. A simple `cp’ call or using the program `makehole’ will achieve this. With a.out DLL’s you can also strip them after building as the address’s are in fixed locations. Do not attempt to strip ELF libraries.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123