[fpc-devel] fpc smartlinking
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun May 29 12:51:22 CEST 2005
On Sun, 29 May 2005 12:30:50 +0200 (CEST)
Daniƫl Mantione <daniel at deadlock.et.tudelft.nl> wrote:
>
>
> Op Sat, 29 May 2004, schreef Matthias Hryniszak:
>
> > In addition comparing the sources of VCL and FCL they
> > don't differ that much and the source isn't that much bigger so by this
> > kind of differences the problem must lie with compiler/linker.
>
> It *is* the source. The compiler is perfectly capapable of removing unused
> code ust as well as the Delphi compiler. So, if you're pointing at the
> compiler I assume you either have smartlinking disabled or that there is
> debug information in the executable.
I'm curious:
I heard that Delphi is capable of removing some unused virtual methods. What
kind of virtual methods can FPC/ld smartlink and what not?
Mattias
More information about the fpc-devel
mailing list