[fpc-pascal] $LINKLIB MSVCRT on windows/osx

Ludo Brands ludo.brands at free.fr
Mon Mar 10 08:15:33 CET 2014


On 03/09/2014 08:36 PM, md at rpzdesign.com wrote:
> Marco:
> 
> Based on the tone of your response, I am thinking that I
> am doing something stupid on windows win32?
> 

You are on the correct path but you need to point to the mingw
libraries. They provide the stubs for msvcrt and other windows standard
libraries. Take a look at these step by step instructions on static
linking
http://forum.lazarus.freepascal.org/index.php/topic,15712.msg84781.html#msg84781
. It is about linking Sqlite but it applies to most C code.

Ludo




More information about the fpc-pascal mailing list