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

Marco van de Voort marcov at stack.nl
Sun Mar 9 19:52:04 CET 2014


In our previous episode, md at rpzdesign.com said:
> Thanks for your response.
> 
> I am trying to use {$LINKLIB ceecodelib.a} .
> 
> But this compiled c code makes references to Windows C Runtime calls 
> like _memcpy, etc.

What is that library compiled with? I guess mingw.

You probably need various .a files from that compiler to get this working.
Preferably exactly the same version and exactly the same build, though
I guess import libs are pretty invariant.

The ones that you see in gdbint are meant to be used with a package that
contains libgdb.a and all other .a's that are dependencies from the mingw
suite these were built with.




More information about the fpc-pascal mailing list