[fpc-devel] A small wish for FPC
Daniël Mantione
daniel.mantione at freepascal.org
Thu Jul 27 18:05:05 CEST 2006
Op Thu, 27 Jul 2006, schreef ik:
> I have a "small" wish regarding the ability to work with FPC...
> =
> At the moment, if I'm using SysUtils, then it also adds all the
> resource string regardless if I'm using it or not.
> =
> At the end parts of the executable have a lot more content of things
> existed in units that I do not use, and sometimes even more then my
> own code.
> =
> The best idea I have to solve such thing is to use some sort of
> instructions for the compiler to tell it what I do need, and the
> compiler will check dependencies if there is a problem with my choice.
> =
> What do you think on this idea and issue ?
Well, the current 2.1 compiler has an internal linker which allowed it to =
be made smarter what can be removed. It doesn't include the resource strings
in the executable anymore. However, sysutils remains a heavy unit.
Dani=EBl
More information about the fpc-devel
mailing list