Building a prelude
simonpj at microsoft.com
Wed Nov 7 10:33:49 EST 2007
You probably need to compile with -package-name base. When you compiled Err.lhs-boot you need to say that it belongs to package base.
| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of
| Victor Nazarov
| Sent: 07 November 2007 14:28
| To: glasgow-haskell-users at haskell.org
| Subject: Building a prelude
| Is it possible to build Prelude from scratch. Or just some modules
| like GHC.Base.
| For example when I do
| I've got this error:
| Bad interface file: C:/Program Files/Visual Haskell\imports/GHC/Err.hi-boot
| Something is amiss; requested module base:GHC.Err differs from name
| found in the interface file main:GHC.Err
| What can I do to overcome this.
| Really what I want is to build some runtime system for my
| it. I understand that I need to write some primitive operations in
| and integers is a good point to start. Can you recommend me some
| strategy or smth?
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users