Date sent:              Mon, 16 May 2005 22:03:28 -0700
From:                   L505 <[EMAIL PROTECTED]>
To:                     FPC-Pascal users discussions 
<fpc-pascal@lists.freepascal.org>
Subject:                [fpc-pascal] Executable size compiler 1.96  vs 1.06
Send reply to:          FPC-Pascal users discussions 
<fpc-pascal@lists.freepascal.org>
        <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]>


> With compiler version 1.96, one of my command line applications is 1MB
> (win32) With the 1.0.6 compiler (using dev pascal) it is just 100KB.
> (win32)
 .
 .

In spite of the fact that there _is_ some code size increase in 2.0.x 
compared to 1.0.x (due to additional functionality - multi-threading, 
etc.), your problem stems most probably in the fact that recent 
released versions of GNU tools (ld.exe in particular) don't correctly 
strip the debug information. The latest GNU sources could solve this 
issue. Please, note that it isn't a problem in our codebase, so 
there's a little we can do about that. The next version should 
hopefully contain a newer (fixed) version of these tools.

Tomas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to