Linking tblgen debug executable (without symbols)onMinGW

From: Jeff Cohen <>
Date: Tue, 28 Sep 2004 13:05:16 -0700

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

Arrrggg, I forget this relation...

\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.

Sometimes they are provided. But, if they aren't, you can follow this recipe:


That document is wrong in one important respect: it is not necessary to
link against the lib file to use the dll. One can dynamically load the
dll also. But I'm not motivated to bend over backwards that far to
support non-Microsoft build environments :slight_smile: