[Haskell-iPhone] Building GHC cross-compiler failing on libffi
Pradeep Kumar
pradeepkumar.t at gmail.com
Sat Sep 14 15:32:44 CEST 2013
Hi,
I get the same errors building GHC head for the simulator as per the instructions. llvm and opt are version 3.0.
Any suggestions are welcome.
Thanks
Pradeep
On 14 Sep 2013, at 02:11, Luke Iannini <lukexipd at gmail.com> wrote:
> Hi Thomas,
>
> Can you check that “which llc”/“which opt” point to the the LLVM 3.0 versions?
> (or just run llc —version to make sure it’s 3.0)
>
> Are you on 10.8 with Xcode 4.6?
>
> Cheers
> Luke
>
>
> On Fri, Sep 13, 2013 at 5:11 PM, thomas burt <thomaseburt at gmail.com> wrote:
> Hi,
>
> I've just followed instructions for "Building a GHC cross-compiler for Apple iOS targets (1)", and I'm getting stuck during "make" while building libffi. Specifically I get errors like "no such instruction" and warnings about junk characters.
>
> I was able to build libffi using the build-ios.sh script found in libffi-3.0.13.tar.gz (2), but I noticed a less recent version (3.0.8) was listed in the "tarballs" file of the ghc distribution. Not sure if that makes any difference though.
>
> If anyone has suggestions for me, please let me know.
>
> Thanks in advance,
> Thomas
>
>
>
>
>
>
> (1) http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS
> (2) ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
>
> _______________________________________________
> iPhone mailing list
> iPhone at haskell.org
> http://www.haskell.org/mailman/listinfo/iphone
>
>
> _______________________________________________
> iPhone mailing list
> iPhone at haskell.org
> http://www.haskell.org/mailman/listinfo/iphone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20130914/a48c3840/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffi-error.txt
URL: <http://www.haskell.org/pipermail/iphone/attachments/20130914/a48c3840/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20130914/a48c3840/attachment-0001.htm>
More information about the iPhone
mailing list