optlink options to reduce file size?
Dmitry Olshansky
dmitry.olsh at gmail.com
Wed Jul 27 07:30:42 PDT 2011
On 27.07.2011 18:05, Andrej Mitrovic wrote:
> I've found it interesting how sometimes (not dfl-specific) the first
> compiled executable is over a meg in size, but as I add a couple of
> hunderd lines of code the executable size shrinks. I guess some kind
> of optimization takes place there..
LOL, it shouldn't be usually.
It's possible in case if, for instance, your first version uses more
different functions from lib then the second one, in effect linker could
pull in less object files from library.
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list