Re: Calling C functions from haskell

1997-04-24 Thread Simon L Peyton Jones
At a guess I'd say that libpvm3.a is referring to "xdr_long", "listen" etc, and no library has them. You'll need to find a library that defines them and add a -l flag for it. I think. Simon | But then I tried : | ghc -v -o a.out -L /usr/local/pvm3/lib/SUN4SOL2/ -lpvm3 Main.o | | and it

Re: Change RTS at compilation?

1997-04-24 Thread Edward Wiles
Simon, # | A Haskell program of mine regularly runs out of stack space, when dumping # | thousands of lines to stdout. Doing a +RTS -H16M -RTS on each execution of # | the program seems to fix it. (Should a program really need this much space, # | though?) # # Do you mean "-K16m"? Or do you