MingW question
Gerhard Häring
gh at ghaering.de
Wed Mar 12 17:20:40 EST 2003
Thomas Heller wrote:
> I've failed miserably to create a line-coverage report with MSVC6 for
> my extension module under Windows.
>
> On the web I've found docs for GCC's gcov utility, and I was surprised
> how easy it was to create this info under Linux with gcc (which
> probably shows that I don't really know much about Linux ;-).
>
> From reading this list, I have the impression that it's simple (at
> least possible) to compile extensions with MingW for standard (MSVC
> compiled) Python.
It is. All you need is
http://www.python.org/doc/current/inst/non-ms-compilers.html
and from http://sourceforge.net/project/showfiles.php?group_id=2435
install MinGW-2.0.0-3.exe.
> Is the gcov utility also available for MingW?
gerhard at MEPHISTO ~
$ ls /c/MinGW/bin/gcov.exe
/c/MinGW/bin/gcov.exe
Looks like it :-)
> Am I right that MingW runs
> under standard Windows (XP Pro in this case) without needing Cygwin?
Yep. I've never used gcov und mingw, though. Also, debugging extension
modules is relatively hard under Windows using mingw.
-- Gerhard
More information about the Python-list
mailing list