On Friday, November 11, 2011 at 8:26 PM, Stephen Blackheath [to GHC-iPhone] wrote:
David,iphone-hsc2hs and iphone-simulator-hsc2hs are automatic, andiphone-cabal can run them for you automatically. The native hsc2hs(meaning, the stock standard version without a prefix for compilingprograms on the PC) definitely won't work. I haven't used c2hs.I don't know what is going wrong for you.SteveOn 12/11/11 12:19, David Pollak wrote:Howdy,Does hsc2hs need to be run as a separate manual phase or can it be runfrom the iphone-cabal thing?When I try to run it via iphone-cabal, I get link errors because thegenerated C program is being linked against the iphone stuff, ratherthan the native libraries.Any hints or pointers would be appreciated.Also, if there's any hints on running c2hs, they'd be appreciated, too,but I haven't spent a lot of time in c2hs land.Thanks,David_______________________________________________iPhone mailing list_______________________________________________iPhone mailing list