Hmmm… iphone-hsc2hs doesn't seem to be part of the ghc-iphone distribution: dpp@snowraptor:/opt/iphone$ find . -name "iphone*" ./bin/iphone-cabal ./bin/iphone-ghc ./bin/iphone-ghc-pkg ./bin/iphone-simulator-cabal ./bin/iphone-simulator-ghc ./bin/iphone-simulator-ghc-pkg dpp@snowraptor:/opt/iphone$ Should I do a build from source? Thanks, David -- @dpp On Friday, November 11, 2011 at 8:26 PM, Stephen Blackheath [to GHC-iPhone] wrote:
David,
iphone-hsc2hs and iphone-simulator-hsc2hs are automatic, and iphone-cabal can run them for you automatically. The native hsc2hs (meaning, the stock standard version without a prefix for compiling programs on the PC) definitely won't work. I haven't used c2hs.
I don't know what is going wrong for you.
Steve
On 12/11/11 12:19, David Pollak wrote:
Howdy,
Does hsc2hs need to be run as a separate manual phase or can it be run from the iphone-cabal thing?
When I try to run it via iphone-cabal, I get link errors because the generated C program is being linked against the iphone stuff, rather than 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@haskell.org (mailto:iPhone@haskell.org) http://www.haskell.org/mailman/listinfo/iphone
_______________________________________________ iPhone mailing list iPhone@haskell.org (mailto:iPhone@haskell.org) http://www.haskell.org/mailman/listinfo/iphone