
9 Nov
2012
9 Nov
'12
6:44 a.m.
* Mikhail Glushenkov
I think that the path of least resistance is to make your analysis tool command-line compatible with ghc. Then you can use it like this:
$ cabal configure --with-compiler=/path/to/my-ghc $ cabal build
I tried this, and one problem I ran into is that Cabal invokes the linker on the files that it expects my tool to produce. 'ld' fails, and the build aborts. I haven't found any way to disable or configure the linker. Any suggestions? Roman