Malcolm Wallace wrote:
Sven Panne <[EMAIL PROTECTED]> wrote:
they come with different sets of tools:
GHC: hsc2hs
Hugs: hsc2hs, cpphs
nhc: cpphs
The only reason ghc does not ship by default with cpphs is ideological -
the latter is GPL licensed. Of course, 3rd-party packagers (RPM,
debian, etc) have the liberty to include cpphs anyway, and modify ghc's
driver script accordingly.
(It does seem curious that, in avoiding the distribution of cpphs, ghc
on Windows instead distributes gcc, which is also GPLed :-)
We distribute gcc not just for its CPP support, but also because GHC still
supports compilation via C, and because GHC can be used as a front-end to the C
compiler. I'd happily swap a dependency on gcc for one on cpphs, but that's not
an option at the moment (it might be if we drop via-C support, though).
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc