ffi

Hal Daume III hdaume@ISI.EDU
Thu, 12 Dec 2002 11:29:24 -0800 (PST)


Perhaps you need a newer version of GHC...i just noticed you have and
02...I think you need an 04 to get the new FFI...

--
Hal Daume III

 "Computer science is no more about computers    | hdaume@isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume

On Thu, 12 Dec 2002, Martin Huschenbett wrote:

> > "-fffi" three fs
> 
> This time I also get an error:
> 
> 
> martin:~/work/prograemmelchen> ghc -fffi -o myprog Main.hs cfile.o 
> ghc-5.02.2: unrecognised flag: -fffi
> Usage: For basic information, try the `--help' option.
> 
> 
> Main.hs looks like:
> 
> module Main ( main ) where
> 
> foreign import ccall "cfun" cfun :: IO ()
> 
> main :: IO ()
> main = do
>   cfun
> 
> 
> 
> Is the error here?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>