Cabal help please

Simon Marlow simonmar at
Thu Jun 16 11:23:28 EDT 2005

On 16 June 2005 15:36, Adrian Hey wrote:

> Hello,
> I'm just getting around to tidying up the AVL library and releasing
> a new version and, of course thinking about Cabalising it too. But
> I'm finding difficult to figure out how to do this from the
> Cabal docs and Distribution library haddock.
> Anyway, what I want to do is..
>  Run cpphs on all the sources
>  Compile the results using -split-objs (for ghc at least).

Cabal doesn't support -split-objs at the moment.  To do this you'll need
to write your own Makefile and hook it up to Cabal (possible, but a bit
fiddly I believe).


More information about the Libraries mailing list