Hello. I'm Hirotada Shimoda in Japan.
I am interested in Parallel Haskell. I am trying to compile a parallel
program on GHC-4.04. But I can't.
I compiled GHC-4.04 on FreeBSD 3.3R with ports system.
The file I want to compile is as follows (parallel.hs):
{----------
import Parallel
nfib :: Int -> Int
nfib n | n <= 1 = 1
| otherwise = par n1 (seq n2 (n1 + n2 + 1))
where n1 = nfib (n-1)
n2 = nfib (n-2)
main = putStr (show (nfib 30))
----------}
I invoked ghc by :
{----------
% ghc -parallel parallel.hs
----------}
and the result is af follows :
{----------
ghc: unrecognised option: -fstack-check
parallel.hs:1: Could not find valid interface file `Prelude'
parallel.hs:1: Could not find valid interface file `Parallel'
Compilation had errors
----------}
What must I do ?
----
Hirotada Shimoda [EMAIL PROTECTED]
[EMAIL PROTECTED]