[fpc-devel] Interfaces vs. smartlink issue

Sergei Gorelkin sergei_gorelkin at mail.ru
Tue Jan 22 17:42:26 CET 2008


Peter Vreman wrote:
> It is legacy.
> 
> You can improve it to put the wrappers for one interface definition in its own section.
> 
Looks like a one-line fix (see the attached patch).

By the way, while testing it in Windows, I could not make the compiler 
do the smartlink with external linker. I compiled with -CX -XX -Xe 
switches, but compiler did not generate libp*.a files, so ld linked 
everything non-smart. Something got lost along the way?

Internal Windows linker works as desired even without the patch, although.

Sergei
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ncgutil.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080122/c44ec180/attachment.ksh>


More information about the fpc-devel mailing list