compiling concurrent haskell with ghc
Dennis Sidharta
daniel_jian@yahoo.com
Sun, 27 Jul 2003 17:35:29 -0700 (PDT)
--0-382811838-1059352529=:20066
Content-Type: text/plain; charset=us-ascii
Hi all,
I have a question on compiling a concurrent haskell source code using GHC. Today is my first time playing around with concurrency in Haskell, and this afternoon, GHC seemed to be able to compile my code and produced an executable. However, that executable did not seem to run the program correctly. In fact, it just did not do anything. FYI, GHCi interpreted the code succesfully, and the program runs normally under GHCi.
I compiled the code this way:
ghc --make source.hs -o output
Do I need to have a specific flag or something? I tried to look at GHC's documentation, but I just could not find any information on this except adding -syslib concurrent flag, which also did not help.
Thank you very much for the help.
Blessings,
Dennis Sidharta
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
--0-382811838-1059352529=:20066
Content-Type: text/html; charset=us-ascii
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I have a question on compiling a concurrent haskell source code using GHC. Today is my first time playing around with concurrency in Haskell, and this afternoon, GHC seemed to be able to compile my code and produced an executable. However, that executable did not seem to run the program correctly. In fact, it just did not do anything. FYI, GHCi interpreted the code succesfully, and the program runs normally under GHCi.</DIV>
<DIV> </DIV>
<DIV>I compiled the code this way:</DIV>
<DIV>ghc --make source.hs -o output</DIV>
<DIV> </DIV>
<DIV>Do I need to have a specific flag or something? I tried to look at GHC's documentation, but I just could not find any information on this except adding -syslib concurrent flag, which also did not help.</DIV>
<DIV> </DIV>
<DIV>Thank you very much for the help.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Blessings,</DIV>
<DIV> </DIV>
<DIV>Dennis Sidharta</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software
--0-382811838-1059352529=:20066--