Converting Yhc to use Cabal
stefanor at cox.net
Wed Jun 20 10:20:23 EDT 2007
On Wed, Jun 20, 2007 at 03:15:23PM +0100, Neil Mitchell wrote:
> Hi Stefan,
> >I beleive that the best approach would be to split the York build system
> >into separate build systems for yhc/yhi/etc. Yhi, being a pure C
> >program, can use a system designed for pure C, such as autotools.
> Which doesn't really like Windows, so isn't really an option...
Ah yes. Windows is a good reason to pick scons over autotools.
> > Yhc,
> >being pure Haskell, would be a much better fit for Cabal than the York
> >toolchain currently is considered as a whole.
> The intention is to initially make Yhc compile with Cabal, and have
> "scons build yhc" just fork off Cabal to do the work. Gradually it
> would be nice to move more bits into Cabal.
The York tools are very loosely coupled because of the documented IR.
it seems kinda silly to force a common build system on them...
More information about the cabal-devel