Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 compiling haskell programs in windows.
Index -> Programming, General Programming -> Functional Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
neokewl




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
rdrake




PostPosted: 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>
neokewl




PostPosted: 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
rdrake




PostPosted: 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.
neokewl




PostPosted: 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
neokewl




PostPosted: 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\;
Naveg




PostPosted: 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?
neokewl




PostPosted: Tue Jan 09, 2007 9:20 pm   Post subject: Re: compiling haskell programs in windows.

hey ..thnx...

ya tht was the problem .....
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, General Programming -> Functional Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: