I just discovered the fantastic work done for abstract compilers. What great stuff!
I downloaded the CVS snapshot today and added a PureMingw32CCompiler class to show the correct command line to build DLLs and import libraries for MinGW32 2.95.2-1 (the current beta). Maybe somebody could see how to better integrate the changes?
Included in my attachment is the changed distutils/cygwinccompiler.py and some test programs. The test programs came from the MinGW32 instructions at: ftp://ftp.nanotech.wisc.edu/pub/khan/gnu-win32/mingw32/snapshots/gcc-2.95.2-1/README
For those that do not know, the current MinGW32 beta supports the `-shared' directive and an `--out-implib,libxxx.a' directive. DEF files are no longer needed when building DLLs from object files. As far as I know, we still have to use `dlltool' to build import libraries from DEF files when the DLL's object files are not available. But, I'm not even sure that's supposed to be a compiler function.