Executable size
Gregor Richards
Richards at codu.org
Fri May 9 12:08:39 PDT 2008
Robert Fraser wrote:
> Frank Benoit wrote:
>> Robert Fraser Wrote:
>>> Is this compiled all-at-once or with each object compiled separately?
>>
>> all-at-once.
>> Would you expect it, to be a big difference?
>
> In the other direction. Gregor mentioned that if it's compiled
> separately a bunch of redundant type information is included. He cited
> some library (the old DWT maybe... too lazy to look up the post) that
> ballooned from ~5MB to ~17MB when each file was compile separately.
If you compile them separately, the /library/ will be larger, but
resultant /binaries/ will be smaller.
- Gregor Richards
More information about the Digitalmars-d
mailing list