[fpc-devel]linker registering in 1.1 branch does not work properly

Pavel V. Ozerski pavel at insect.mail.iephb.ru
Thu Jun 28 16:21:08 CEST 2001


Hello,

linker registering in 1.1 branch does not work properly:
independing of registering allways generic tlinker.create will be called.

How to fix:

constructor tlinker.create (link.pas) must be declared as VIRTUAL;
create constructors in all targets (e.g. tlinkerwin32.create in t_win32.pas) must be declared as OVERRIDE;

Please check also RegisterImport, RegisterExport,  RegisterDLLScanner,  RegisterAr, RegisterRes,  RegisterTarget etc.

Sincerely, Pavel





More information about the fpc-devel mailing list