On 26 mei 2005, at 05:44, Bisma Jayadi wrote:

The code is compiled using FPC with faster code optimization, generate exe file with size 435 KB. While it is compiled using Delphi with optimization, generate exe file with size (only) 83 KB. Why FPC generate that so big exe file? I only
use Variants unit explicitely.

Make sure you turn on smart linking (-XX). Also, stripping of debug information is broken in the current versions of the GNU linker, which we use. We cannot help that, and older versions in which this does work cannot link with certain libraries.


Jonas


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

Reply via email to