GHC as library and new build tree layout

Simon Marlow simonmarhaskell at gmail.com
Fri May 5 07:41:24 EDT 2006


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



More information about the Glasgow-haskell-bugs mailing list