Building GHC 5.02 on Solaris x86
Alastair David Reid
reid at cs.utah.edu
Fri Nov 2 16:41:07 EST 2001
> So, bringing back the solution of having manually written C wrapper
> functions which platform-independent Haskell source files will call
> out to, would be preferable (in short, avoid the use of hsc2hs *or
> any other extra tool* alltogether). I'm willing to make the
> necessary changes.
You started by objecting to using a tool that commits your code to a
platform too early. I'm in complete agreement.
But now you seem to be objecting to using any tools at all. This seems
excessive. Why not do one of:
1) Don't write the tool in Haskell
2) Write in Haskell but execute it using a more easily ported Haskell
implementation (i.e., Hugs or NHC)
3) Write it in Haskell but include platform independent machine
generated code in the distributions.
[I lean towards 3 since it avoids the embarressment of 1 and 2]
(This is all on the assumption that the amount of code we're talking
about is significant enough to care. I have the impression that it is
but could be wrong.)
--
Alastair
More information about the Glasgow-haskell-bugs
mailing list