[Haskell-iPhone] Running hsc2hs
Stephen Blackheath [to GHC-iPhone]
likeliest.complexions.stephen at blacksapphire.com
Sat Nov 12 05:26:49 CET 2011
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 at haskell.org
> http://www.haskell.org/mailman/listinfo/iphone
More information about the iPhone
mailing list