Binary package “mingw-w64-tools” in ubuntu precise
Development tools for 32- and 64-bit Windows
MinGW-w64 provides a development and runtime environment for 32- and
64bit Windows applications using the GNU Compiler Collection (gcc).
.
This package contains the gendef and genidl tools, used to extract
respectively DLL exports and IDL information from Windows
executables.