>> Example: \rsxnt\source\crtrsxnt
LIB2DLL creates a DLL from a static library. The goal is to create a DLL with exprted functions that are defined in a Module Definition file (DEF). Lib2Dll calls the GCC compiler to build the DLL. Then you can use makelib to build the import library.
LIB2DLL MODULE.DEF [GCC OPTIONS]
LIB2DLL mylib.def -Zmt -Zcrtdll=crtrsxnt -lmylib