[fpc-pascal] generated exe file size
jonas at zeus.ugent.be
Thu May 26 10:27:49 CEST 2005
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,
> 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.
More information about the fpc-pascal