Hi,

I have tried Lemmih's example of using
GHC as library. The very first line

 Prelude> :m GHC

failed. Searching for reason of this failure, I've
looked into the package.conf.in file of package ghc
and found that pragma import-dirs contains lines like

import-dirs:   FPTOOLS_TOP_ABS"/ghc/compiler/stage2/utils",
              FPTOOLS_TOP_ABS"/ghc/compiler/stage2/basicTypes",

It looks like an artifact of the old layout. I've
removed "/ghc" from all those lines, re-registered package
ghc - example worked!

Is that the right way to go?


V.Rudenko
--
λ is the ultimate
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to