C main

Brett Letner [email protected]
Wed, 11 Oct 2000 17:12:29 -0500


Greetings -

Could someone instruct me on (or point me to) the correct ghc command line
for calling haskell from C?
>From the documentation, it seems like "ghc -fglasgow-exts -no-hs-main main.c
foo.hs" should work, but
that still gives me a multiple definition of "main".

I'm running ghc 4.08.1 on Windows NT.

Thanks -

Brett Letner
RBC Incorporated
http://www.revbiz.com
mailto:[email protected]
(913) 385-5700 ext.20 Fax (913) 385-5701