
Hi, I'm doing some work with YHC Core and having a problem when compiling some of my code (which imports import Yhc.Core.Binary) when using GHC. I need the code as an EXE. It runs fine in ghci. The complaint is Bad interface file: Yhc/Core/Binary.hi mismatched interface file versions: expected 6060, found 6 I've downloaded YHC again and found Binary.hs, this hasn't really helped because I can't remember how I made the .hi file in the first place. If it was by scons build then this has stopped working now it's asking if I have a C compiler. Basically I'm a little stuck and any help regarding this will be much appreciated. Kind regards, Ricky Barefield

Hi Ricky,
The complaint is
Bad interface file: Yhc/Core/Binary.hi mismatched interface file versions: expected 6060, found 6
If it was by scons build then this has stopped working now it's asking if I have a C compiler.
You need to type: $ scons clean $ scons build yhc $ scons build libraries That way even if you don't have a C compiler you can still compile Yhc and all the necessary libraries. Thanks Neil
participants (2)
-
Neil Mitchell
-
Ricky Barefield