Simon Marlow <[EMAIL PROTECTED]> 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



_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to