AW: ffi

2002-12-12 Thread Markus . Schnell
$ cc -c cfile.c $ ghc -o myprog Main.hs cfile.o won't you need -fffi also? Markus ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Haskell related Debian packages

2002-12-12 Thread haskell-cafe-admin
I'm considering packaging several Haskell libraries for Debian, and wonder what people think about where things should go. Please excuse me if anyone feels that this email isn't appropriate for this mailing list. Though these are somewhat Debian-specific questions, I thought that some Haskell

Re: Haskell related Debian packages

2002-12-12 Thread David Roundy
... So I'm considering sticking the *.lhs files for HUnit, for example, in /usr/share/hunit. Then people can alter their Makefiles to include that directory in either hugs or ghc, but I see one problem with that: GHC would want to compile the source files, and stick them in

Re: ffi

2002-12-12 Thread Martin Huschenbett
$ ghc -ffi -o myprog Main.hs cfile.o When I try this I also get an error: martin:~/work/prograemmelchen ghc -ffi -o myprog Main.hs cfile.o ghc-5.02.2: unrecognised flag: -ffi Usage: For basic information, try the `--help' option. Do I use a wrong GHC version? THX, Martin.

Re: ffi

2002-12-12 Thread Hal Daume III
-fffi three fs -- 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: $ ghc -ffi -o myprog Main.hs cfile.o When I try this I also get an

Re: ffi

2002-12-12 Thread Martin Huschenbett
-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

Re: ffi

2002-12-12 Thread Hal Daume III
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,

Re: Haskell related Debian packages

2002-12-12 Thread Richard Braakman
On Thu, Dec 12, 2002 at 11:36:59AM -0500, [EMAIL PROTECTED] wrote: The package could install binary files, but then it would build-depend on ghc which doesn't exist for several Debian platforms. So I guess it could check to see if ghc is installed on the building computer and stick binaries

Re: ffi

2002-12-12 Thread Manuel M T Chakravarty
Hal Daume III [EMAIL PROTECTED] wrote, -fffi three fs Both -ffi and -fffi is supported. Manuel ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe