RE: Calling Haskell from Python / C++

I hope it's all described adequately in the GHC user manual http://haskell.org/ghc If not, let us know! Simon | -----Original Message----- | From: Peter Simons [mailto:simons@cryp.to] | Sent: 13 November 2002 10:07 | To: haskell-cafe@haskell.org | Subject: Re: Calling Haskell from Python / C++ | | Simon Peyton-Jones writes: | | > If Python uses C's calling convention, it might be easy; just use | > 'foreign import' and 'foreign export' (see the FFI spec at | > haskell.org). | | I remember reading that the main program, that wants to call Haskell | code, would have to be compiled with a special Haskell main() routine, | though? Is that true? And if, why is that necessary? | | -peter | _______________________________________________ | Haskell-Cafe mailing list | Haskell-Cafe@haskell.org | http://www.haskell.org/mailman/listinfo/haskell-cafe

Simon Peyton-Jones writes:
I hope it's all described adequately in the GHC user manual http://haskell.org/ghc
I'll take a look at it, thanks! Unfortunately, before I can worry about this I have to get GHC built at all. It appears that the available binary versions don't work an a pure gcc 3.x system. There aren't by any chance _statically_ linked GHC versions available for Linux somewhere, are they? -peter
participants (2)
-
Peter Simons
-
Simon Peyton-Jones