Hi,
What is difference between "Link smart (-XX)" and "Smart linkable (-XC)" ?
-XC is by default off and corresponds to per unit {$SMARTLINK OFF/ON} ?

Does it means, that compiler/linker is trying "Link smart", but only units marked "Smart linkable" ? Which means, that when I use in my program StrUtils or SysUtils and I use only one function from these unit, in my program executable will be all function presented in these units ?

Thanks
-Laco.


Does somebody know if smart-link (-XX) is done by the compiler (fpc) or by
the linker (ld) ?

It's done by the linker, but it is based on how the compiler structures/annotates the code and data when you compile with -CX.


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

Reply via email to