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

2012-07-24 Thread Peter Simons
Hi Brandon, 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. I see, thank you for the clarification. One more thing: I would like to configure

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

2012-07-23 Thread Peter Simons
Hi, 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

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

2012-07-23 Thread Ivan Lazar Miljenovic
On 24 July 2012 04:06, Peter Simons sim...@cryp.to wrote: Hi, 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

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

2012-07-23 Thread Brandon Allbery
On Mon, Jul 23, 2012 at 2:06 PM, Peter Simons sim...@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