18 Sep
2009
18 Sep
'09
6:54 p.m.
On 18/09/2009, at 7:31 AM, David Roundy wrote:
Hi all,
I was wondering what we are supposed to do to include C source files, accessed via the FFI? Including them on the command line (as I was tempted to do) just results in a complaint that they aren't haskell. Do I need to compile it separately with gcc and then pass the object file on the command line? I guess I could just experiment, but I'm feeling lazy, so I'm asking instead...
I was doing that for Hubris. Worked ok. Linking JHC-created objects manually isn't as complicated as linking GHC's objects. mark