logo       

Re: GHC as library and new build tree layout: msg#00028

lang.haskell.glasgow.bugs

Subject: Re: GHC as library and new build tree layout

wld wrote:
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?

Thanks, now fixed.

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise