Proposal: ByteString based datagram communication (Ticket #1238 )

Ross Paterson ross at
Thu Apr 5 05:26:24 EDT 2007

On Thu, Apr 05, 2007 at 06:14:25PM +0900, Robert Marlow wrote:
> 4. me: It's not tested as well as I'd like
>    I'm having trouble testing with hugs. runhugs -98 ./Setup.hs build 
>    returns 'ERROR "dist/build/Network/BSD.hs" - Can't find imported
> module "GHC.IOBase"'. Something screwy with hsc2hs or cpphs?

I think it's because the GHC version of hsc2hs uses ghc as its C compiler,
which sets __GLASGOW_HASKELL__.  You should be able to work around this
by adding --with-hsc2hs=/usr/local/bin/hsc2hs-hugs or similar to setup
configure when building for Hugs.

More information about the Libraries mailing list