[fpc-pascal] Statically link library

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Sat Apr 20 11:54:58 CEST 2013


I'm linking a C and FPC program but I keep on getting undifined
symbols (see example below).

Error: Undefined symbol: _strcpy

Sofar I
have added:

{$linklib msvcrt}
{$linklib gcc} 

What other libraries
should I add? BTW, I'm compiling the C library with MinGW.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130420/6c9ff672/attachment.html>

More information about the fpc-pascal mailing list