FW: Library infrastructure

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Thu, 24 Apr 2003 10:32:23 +0100

Isaac Jones <ijones@syntaxpolice.org> writes:

> There might be a "bootstrapping" issue here that isn't an issue with
> Python since a "Setup.hs" script won't necessarily know which compiler
> is installed.  One solution is for the compilers to standardized on
> something like "/usr/bin/runhaskell", but then the user would need a
> way to choose a default.  "hmake interactive" might get us there, if
> there were a way to invoke it like runhugs, and hmake already has the
> idea of a default compiler.

Well, the following works fine

    hmake Setup		-- use default Haskell compiler to build script
    ./Setup		-- run the script

provided that your default Haskell system is not Hugs.  Hmmm, maybe
we could tweak hmake to accept Hugs as a sort-of compiler, producing
a runnable shell-script as the "executable".  The shell script would
simply invoke runhugs with whatever options were specified for the