logo       

GHC as library and new build tree layout: msg#00027

lang.haskell.glasgow.bugs

Subject: GHC as library and new build tree layout

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@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise