Ok something I just did was: Copy ldw.exe from the \dev-pascal\bin directory over to ld.exe in the 1.9.6 compiler (rename ldw to ld)
Now program is only 440kb .. hmm Some more testing I will do with 2.0 release. Lars ----- Original Message ----- From: "Peter Vreman" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org> Sent: Tuesday, May 17, 2005 12:50 AM Subject: Re: [fpc-pascal] Executable size compiler 1.96 vs 1.06 | > | > | | > | Initialization of the classes and implicitly used sysutils unit uses | > more | > | code. Also the use of resourcestrings increases the binary. | > | | > | The size is mainly a rtl issue. The smartlinking principle in the | > compiler | > | isn't changed since 1.0.6. | > | | > | > Hmm, so really then I shouldn't notice that huge difference, because I | > have smart linking on (both | > smartlinking options checked, using lazarus IDE for win32). But I'm going | > to run a fresh command line compile | > now, just incase some setting is mucked up somewhere or a misconfigured | > cfg file is somehow being called. | > | | Please test it with a official FPC 2.0.0 win32 release. The size should be | less. A simple hello world is only 25KB. And a hello world+classes unit is | 130KB. | | | | | _______________________________________________ | fpc-pascal maillist - fpc-pascal@lists.freepascal.org | http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal