I would like to use the Hoogle text format in C#.

Hoogle on Hackage comes with a bunch of binary *.hoo files. Can these be converted to text/xml? If not, is the binary format documented?

I know I can build hoo files using "cabal haddock --hoogle". But doing this on the BASE package (which I need) from Hackage fails (I'm on Windows, using MSYS):

configure: creating ./config.status
config.status: error: cannot find input file: include/HsBaseConfig.h.in

Does anyone have an easy solution? Maybe I just need to switch to Linux to get this working? :-)