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 has to be in the right order as well.
{$linklib mingwex} {$linklib mingw32} {$linklib msvcrt} {$linklib kernel32} {$linklib user32} {$linklib crtdll}
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal