Build system idea
Ian Lynagh
igloo at earth.li
Tue Aug 12 18:24:38 EDT 2008
On Tue, Aug 12, 2008 at 11:11:38AM +0100, Simon Marlow wrote:
>
> I propose we do this:
>
> - Extract the code from Cabal that generates Makefiles, and treat it as
> part of the GHC build system. Rather than generating a Makefile
> complete with build rules, we generate a Makefile that just
> has the package-specific metadata (list of modules, etc.), and put
> the code to actually build the package in the GHC build system.
Do you see this as the long-term, final solution? Or would the plan be
to let Cabal do the building again once it has learnt how to do its own
dependency analysis and call "ghc -c" on individual modules?
Thanks
Ian
More information about the Cvs-ghc
mailing list