Trying to build HDIRECT with ghc-5.00.2

Sigbjorn Finne sof at
Thu Jul 12 10:45:43 EDT 2001

No, it was just a bug that was introduced somewhere
on the road to GHC5. The version of Int in the repo does
the right thing now.

----- Original Message ----- 
From: "Simon Peyton-Jones" <simonpj at>
To: "Sigbjorn Finne" <sof at>; <ahey at>
Cc: <ffi at>
Sent: Thursday, July 12, 2001 01:04
Subject: RE: Trying to build HDIRECT with ghc-5.00.2

> | (*) - ghc-5.00.2 give Int.sizeofInt{8,...} the type Int32; 
> | HDirect generated sources assume Word32 (as it should be). => 
> | you may need to tweak the generated code in a select few 
> | places to make ghc-5.00.2 happy.
> Sigbjorn: 
> Are you suggesting a change to the Int module?  It would
> be nice to settle ethis so that no tweaking was reqd.
> I'm ccing the FFI list as that seems the right place to decide.
> Simon

More information about the FFI mailing list