[Haskell-cafe] Re: [Haskell] Re: Streams: the extensible I/O library
Peter Simons
simons at cryp.to
Mon Feb 6 20:05:55 EST 2006
Hey Bulat,
I tried removing the "import System.Win32", but unfortunately it
only got me so far:
| Examples$ ghc -i.. -O2 -funbox-strict-fields --make wc.hs -o wc
| Chasing modules from: wc.hs
| [ 1 of 16] Compiling System.FD ( ../System/FD.hs, ../System/FD.o )
|
| /tmp/ghc9376_0.hc:6:16: io.h: No such file or directory
| /tmp/ghc9376_0.hc: In function `SystemziFD_zdwccall_entry':
|
| /tmp/ghc9376_0.hc:1670:0:
| warning: implicit declaration of function `_eof'
| /tmp/ghc9376_0.hc: In function `SystemziFD_zdwccall1_entry':
|
| /tmp/ghc9376_0.hc:1951:0:
| warning: implicit declaration of function `filelength'
| /tmp/ghc9376_0.hc: In function `SystemziFD_zdwccall2_entry':
|
| /tmp/ghc9376_0.hc:2055:0:
| warning: implicit declaration of function `tell'
| [abort]
I also downloaded the new release archive, just to be sure. but
it doesn't contain a file "io.h" either. Is that a system header?
The problem seems to be _eof.
> btw, my "wc" has about the same speed as yours :)
I expected nothing less. All your code I've seen so far has been
exceptionally clever. I'm quite curious to try it out.
Peter
More information about the Haskell-Cafe
mailing list