Linking tblgen debug executable (without symbols) onMinGW

From: Jeff Cohen <>
Date: Sat, 25 Sep 2004 15:26:56 -0700

Yes. You need to link with dbghelp.lib and psapi.lib. There are
pragmas to force this, but not surprisingly gcc does not honor Microsoft

I can't find the above libs. Where are they located on your system?

Are there any dll pendants?


They are part of the Platform SDK from Microsoft, part of Visual Studio.
They correspond to Window system DLLs dbghelp.dll and psapi.dll in
\winnt\system32. If you do not have these libs, then you are out of
luck. Mingw should have provided them as they provided the matching
header files.