
3 Apr
2013
3 Apr
'13
11:41 p.m.
Hi all, I'm currently attempting to create a cabal Configure build-type package to create an executable whose main entry point comes from a C file. I've almost got it working where the Main.hs exports a foreign function that is called from within the C module's main(), except for the fact that cabal wants to compile the C file before the hs *_stub.h is generated. Is there a way to fix this dependency? Cheers, Darren PS- This is related to the old problem of making SDL apps work on OSX.