[Haskell-cafe] Which ghc binary does ghc-mod use?

Brandon Allbery allbery.b at gmail.com
Tue Jul 24 01:54:47 CEST 2012


On Mon, Jul 23, 2012 at 2:06 PM, Peter Simons <simons at cryp.to> wrote:

> I am a happy user of Emacs with ghc-mod for Haskell programming. There is
> just
> one issue I've run into: I have multiple versions of GHC installed on my
> machine. Now, ghc-mod seems to use the GHC binary that was used to compile
> ghc-mod itself, but that is not the version I want it to use for syntax
>

I think you'd have to install a separate ghc-mod binary for each one, then,
as it looks to me like ghc-mod is using ghc-as-a-library.  That is, it
actually has the compiler linked into itself.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120723/c9be1cd5/attachment.htm>


More information about the Haskell-Cafe mailing list