Compiler: Size of generated executable file

Lutger lutger.blijdestijn at gmail.com
Tue Jan 12 16:44:58 PST 2010


On 01/13/2010 12:29 AM, Adam D. Ruppe wrote:
> On Tue, Jan 12, 2010 at 11:12:33PM +0000, retard wrote:
>> If they all used static linking, I'm afraid I would have to
>> buy another 32 GB ssd disk only for the binaries.
>
> Yes, for large numbers of application, shared libraries save a lot of space.
>
> Though, what I was saying is if you have only one application using the
> library, static linking actually saves space. A shared lib needs to keep
> functions around just in case - a static link doesn't.


Funny enough distributing dll's alongside the app is exactly what a lot 
of windows apps do, to prevent dll hell or satisy some license.



More information about the Digitalmars-d mailing list