[cvs-nhc98] cvs commit: cpphs Makefile.nhc98

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Jun 28 09:01:40 EDT 2004


>   Modified files:
>     cpphs               Makefile.nhc98 
>   Log:
>   Use an evil hack to convert System.IO.Unsafe to IOExts, for hbc only.

One further note on this nasty sed-script.  The obvious way to
achieve cross-compiler portability would have been to use an #ifdef
conditional.  But I deliberately chose to avoid that route for one main
reason: Hugs on Windows.  It is important for users of Hugs who have
no prior installation of cpp to be able to use cpphs.  In fact, that
is one of the primary motivations for writing it in the first place!
Thus, the sources for cpphs must not themselves use any cpp directives.



More information about the Cvs-nhc98 mailing list