Cabal help please

Isaac Jones ijones at syntaxpolice.org
Thu Jun 16 11:48:22 EDT 2005


"Simon Marlow" <simonmar at microsoft.com> writes:

> 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).

Can someone outline what cabal needs to do to support this?


peace,

 isaac


More information about the Libraries mailing list