FW: Library infrastructure

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Thu, 24 Apr 2003 10:27:08 +0100


Martin Sj=F6gren <md9ms@mdstud.chalmers.se> 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 compile=
r
> > 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.
> =

> Not all compilers *have* an interactive mode, do they? I thought nhc98
> was just a compiler? This makes it tricky.

No problem - just a little shell script that does

  nhc98 foo.hs -o foo
  ./foo

would be fine.  The interactivity isn't really needed.

--KW 8-)
-- =

Keith Wansbrough <kw217@cl.cam.ac.uk>
http://www.cl.cam.ac.uk/users/kw217/
University of Cambridge Computer Laboratory.