Building GHC 5.02 on Solaris x86
Sigbjorn Finne
sof at galconn.com
Mon Nov 5 11:21:20 EST 2001
Simon Marlow <simonmar at microsoft.com> writes:
>
> Having just looked at the code, it seems we could recover the
> platform-independentness in the I/O library with just a small amount of
> wrapperage: most of the offending code is in PrelPosix.hsc, with a few
> #const's scattered around PrelHandle and PrelIO, and none of the
> affected areas are particularly performance-critical.
>
> Also needing wrappers are Time, CPUTime, Directory & System. I'd say
> stop there, though - this is purely to make bootstrapping on a new OS
> easier, so we only need to apply the no-tool restriction to libraries
> needed by the compiler.
>
Good, let's sort this one out. ghc/compiler/ has its fingers deep in the pie
that is hslibs/, so presumably the restriction applies there also?
I'll happily convert some of these files (once I know what wrapper story
you have in mind); let me know.
--sigbjorn
More information about the Glasgow-haskell-bugs
mailing list