[fpc-pascal] $LINKLIB MSVCRT on windows/osx
Marco van de Voort
marcov at stack.nl
Sun Mar 9 18:53:54 CET 2014
In our previous episode, md at rpzdesign.com said:
> Has anybody got a clue how to statically link the windows c run time with
> lazarus/freepascal on Windows 7/8 x32 or x64?
No idea.
> Looking at gdbint.pp, there are all sorts of references to {$LINKLIB
> libmsvcrt.a}
>
> But there is only libmsvcrt.a when I install MingW 4.8.1 compiler
>
> Since forum.lazarus.freepascal.org is no longer available, any prior
> posts about this topic are gone.
Those afaik are not about statically linking msvcrt, but about the gdb
C (and the C/Unix libs it depends on) needing this library to link to
the msvcrt DLL. IOW it is an import library.
More information about the fpc-pascal
mailing list