cvs commit: fptools/ghc/utils/hsc2hs Main.hs

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Thu Jan 6 09:51:23 EST 2005


>   - require GHC >= 6.2 when compiling nhc98, then we can just use
>     System.Cmd.rawSystem.

Not keen.  nhc98 aims to be as portable as possible.

>   - somehow fix up Makefile.nhc98 so that it compiles Compat.RawSystem
>     (code is in ghc/lib/compat/Compat/RawSystem.hs).

Overkill - would need CVS repository surgery to graft in the compat library.

>   - define a special symbol when compiling hsc2hs as part of nhc98,
>     so then we can use Compat.RawSystem and you can use whatever
>     rawSystem is available.

Yep, probably easiest.  I'll commit this style of solution.

Regards,
    Malcolm


More information about the Cvs-ghc mailing list