I got it. I found all the required static libraries by going searching
through nm *.a on Linux and looking for which library had the missing
functions, then I linked to that lib which gave me a whole new set of
missing functions and I repeated the process until nothing was missing.
Also, everything
Okay, had tried ...
{$linklib msvcrt} // libmsvcrt.a copied from Linux /usr/i686-mingw-w64/lib
{$linklib tess} // my static lib
Then I installed dependency walker (per your advice) and inspected
msvcrt.dll. That dll seems to have the missing functions but with the names
a bit different in places
{$linklib msvcrt} should contain them (try running dependencywalker on
msvcrt.dll to make sure) the other linklib-s are MinGW libs. FPC should be
able to directly link to dll, but it's worth trying to put .a found in MinGW
lib for each dll, as how FP IDE does it.
--
View this message in context: