I am looking at GHC API examples page:
http://www.haskell.org/haskellwiki/GHC/As_a_library
One of examples use import GHC.Paths ( libDir) and mentions that it
needs -package ghc-paths option.
I tried the second example with latest Haskell Platform (Windows). I
commented out libDir = /usr... as it is not applicable to my case
and inserted GHC.Paths import. So I run it like ghci -package ghc
-package ghc-paths A.hs and get an error that command line: cannot
satisfy -package ghc-paths.
When I do not use -package ghc-paths, it fails to load a module GHC.Paths.
What should I do to obtain libDir?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe