-- MinGW gcc asdf.c -c -nostdlib dllwrap asdf.o -o asdf.dll --driver-flags=-nostdlib -- MSVC++ cl /LD asdf.c link asdf.obj /dll /nodefaultlib:libcmt.lib