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 | [EMAIL PROTECTED] 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 > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
