Well, if the compiler runs, and you're not getting a DLL, then it's probably gotta have something to do with the linker. Are you not getting any output? Or are you getting an EXE instead of a DLL? If that's the case, it's a compiler flag. If you're not getting anything out, then it's probably not calling the linker on the compiled object modules.