Computer Science Canada

compiling haskell programs in windows.

Author:  neokewl [ Tue Jan 09, 2007 8:03 pm ]
Post subject:  compiling haskell programs in windows.

Hi all,

does anybody knw how to compile haskell programs in windows .. i am using ghc 6.6 on the windows platform...

thnx
neokewl

Author:  rdrake [ Tue Jan 09, 2007 8:18 pm ]
Post subject:  RE:compiling haskell programs in windows.

Same as many other compilers

code:
ghc <inputfile> -o <outputfile>

Author:  neokewl [ Tue Jan 09, 2007 8:25 pm ]
Post subject:  Re: compiling haskell programs in windows.

The ghc command is not being recognised. I did set my PATH variable and still i get the message:

GHC is not recongnised as internal or external command....


any idea wots happening here ?


neokewl

Author:  rdrake [ Tue Jan 09, 2007 8:41 pm ]
Post subject:  RE:compiling haskell programs in windows.

It would be helpful if you pasted your full path here.

Author:  neokewl [ Tue Jan 09, 2007 8:44 pm ]
Post subject:  Re: compiling haskell programs in windows.

the env variable PATH is set as:


C:\Program Files\SSH Communications Security\SSH Secure Shell\C:\ghc\ghc-6.6\bin

Author:  neokewl [ Tue Jan 09, 2007 8:53 pm ]
Post subject:  Re: compiling haskell programs in windows.

the system vairiable is set as:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\ghc\ghc-6.6\bin\;

Author:  Naveg [ Tue Jan 09, 2007 9:18 pm ]
Post subject:  Re: compiling haskell programs in windows.

neokewl @ Tue Jan 09, 2007 8:44 pm wrote:
the env variable PATH is set as:


C:\Program Files\SSH Communications Security\SSH Secure Shell\C:\ghc\ghc-6.6\bin


missing semicolon?

Author:  neokewl [ Tue Jan 09, 2007 9:20 pm ]
Post subject:  Re: compiling haskell programs in windows.

hey ..thnx...

ya tht was the problem .....


: