integrating ghc as editor's code tools
Paulo Henrique
phwerly at gmail.com
Sat May 19 15:33:32 EDT 2007
I´m trying to integrated ghc and Crimson editor (Windows), to get a
small and efficient package. I found how to integrate ghc and JCreator,
but the package has more than 100MB.
I configured Crimson's Tools -> Preferences->User Tools with this values:
Menu text: GHC
Command: C:\ghc\ghc-6.6.1\bin\ghc.exe (or C:\ghc\ghc-6.6.1\bin\ghci).exe
Argument: $(FileName)
Initial Dir: $[FileDir]
Hot Key: no one
and I have choose "Capture Output".
After wite and save a test file, I called the ghc tool. the answe I get was:
-with ghc:
---------- Capture Output ----------
> "C:\ghc\ghc-6.6.1\bin\ghc.exe" FirstTeste.hs
> Terminated with exit code 0.
with ghci:
---------- Capture Output ----------
> "C:\ghc\ghc-6.6.1\bin\ghci.exe" FirstTeste.hs
> Terminated with exit code 0.
How can I solve this problem? If anyone has a better solution (another
editor), I would like to know it.
thanks in advance,
Paulo Henrique
More information about the Glasgow-haskell-users
mailing list