> Hi-
> We have figured out how to fix the problem with the prelude,
> but we can't
> seem to fix the version number problem. What Simon says above makes
> sense, except that we don't know how to set a command line
> option when we
> don't have a command line. That is, we are using the GHC parser and
> renamer in a separate program (we are running
> bits-of-ghc-plus-bits-of-our-own binary directly as Simon says above),
> which compiles fine, but gives the above error when we run
> the generated
> executable. But when we run the executable there isn't a
> command line at
> which to set options.
> We don't think that removing the test should cause any
> problems with our
> program, except that again, we can't figure out where to tell the
> executable to ignore that test.
> Thanks in advance for any advice you may have,
> kate
The check is in parser/Lex.lhs, in the checkVersion function. The
command-line flag that normally tells the compiler what the interface
file version is, is -fhi-version.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs