Q:

Using c2hs on Windows

I'm trying to use the libxml-enumerator package on Windows, which (ultimately) needs to use c2hs. When trying to build the relevant package, I get the seemingly infamous "does not exist" error from c2hs. This seems to be related to not having GCC installed, but this seems a list strange, since I've added Haskell's copy of gcc.exe to my path.
Does anyone know how to defeat this bug?

A:

Turns out the answer is to install MinGW by itself and not rely on the MinGW included with GHC. Hope this helps someone in the future.

