Hi,
if you compile the contents of lib/ with FOR_HUGS
set to YES, you shouldn't run into either of these, e.g.,
sof$ make FOR_HUGS=YES AddrBits.hs
../src/ihc -fno-qualified-names --hugs -fno-imports\
-fint-is-int -c AddrBits.idl -o AddrBits.hs
sof$ grep HDirect AddrBits.hs
sof$
That said, there are no Makefile rules for building
the dynamic libraries containing the Hugs primitives
other than in the Win32 case. If someone could
contribute these, I'd be more than happy to
integrate them ;)
--sigbjorn
> -----Original Message-----
> From: Koen Claessen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 05, 1999 15:40
> To: Sigbjorne Finne (Intl Vendor)
> Cc: [EMAIL PROTECTED]; Erik Meijer
> Subject: RE: H/Direct 0.16
>
>
> Hi,
>
> (I was trying to make H/Direct work with Hugs).
>
> It was a lot of work to find it, but now I have removed the recursive
> dependency between AddrBits and HDirect. AddrBits only needed
> HDirect.Octet, which was the same as AddrBits.Octet, and HDirect.Ptr,
> which was the same as Pointer.Ptr.
>
> Now, I get another problem:
>
> ERROR "../../lib/HDirect.lhs" (line 201): Type error in application
> *** Expression : writeI64 ptr (toInt lo) (toInt hi)
> *** Term : toInt hi
> *** Type : Int
> *** Does not match : Int32
>
> I am sorry, but I have to give up at this point.
>
> Regards,
> Koen.
>
> --
> Koen Claessen http://www.cs.chalmers.se/~koen
> phone:+46-31-772 5424 e-mail:[EMAIL PROTECTED]
> -----------------------------------------------------
> Chalmers University of Technology, Gothenburg, Sweden
>
>