[Haskell-iPhone] iOS cross compile instructions now on GHC wiki / progress update

Alex Carter alrunner4 at gmail.com
Fri Mar 1 04:27:43 CET 2013


 On a fresh checkout of ghc-ios:ghc/merge-master-ios, I get *sync-all*
and *perl
boot* errors:
*
*
>
> *$ sync-all --no-dph get*
> ...
> Unable to checkout 'ecf43c78cc1fdc7ef5f9f44ccf35441a2ad33847' in submodule
> path 'libraries/Cabal'
> Unable to checkout '8b271670f79a3b50d7e15ca924878212f042f259' in submodule
> path 'libraries/vector'
> ...
>

and then:

$ perl boot
> Error: libraries/Cabal/LICENSE doesn't exist.
> Maybe you haven't done './sync-all get'? at boot line 74, <PACKAGES> line
> 53.
>

which I suppose makes sense since the Cabal checkout failed...

- Alex

On Thu, Feb 28, 2013 at 4:49 PM, Stephen Blackheath [to GHC-iPhone] <
likeliest.complexions.stephen at blacksapphire.com> wrote:

> Thanks Simon - I've added that to a list of loose ends on the
> Building/CrossCompiling/iOS wiki page.
>
> All - I've fixed the issues with http://hackage.haskell.org/**
> trac/ghc/ticket/7722 <http://hackage.haskell.org/trac/ghc/ticket/7722>,
> so everything should now be working.
>
> Anyone who wants to try it now should either apply all the patches
> associated with "Blocked By" of http://hackage.haskell.org/**
> trac/ghc/ticket/7724 <http://hackage.haskell.org/trac/ghc/ticket/7724>,
> or check out http://github.com/ghc-ios/ghc on the 'master-merge-ios'
> branch.
>
>
> Steve
>
>
> On 01/03/13 04:44, Simon Marlow wrote:
>
>> On 27/02/13 21:34, Stephen Blackheath [to GHC-iPhone] wrote:
>>
>>> All,
>>>
>>> Cross-compiling GHC to iOS:
>>> http://hackage.haskell.org/**trac/ghc/wiki/Building/**CrossCompiling/iOS<http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS>
>>>
>>
>> Great.  The point about dead-code removal is interesting: we have
>> special hacks so that you don't have to disable dead-code removal on OS
>> X, in the native code generator and (I presume) in the LLVM backend.
>> Perhaps this just needs to be adapted to work on iOS too?
>>
>> On the other hand, the special hack involves adding lots of extra
>> symbols, so perhaps it's better to just disable dead-code removal.
>>
>> Cheers,
>>      Simon
>>
>>
> ______________________________**_________________
> iPhone mailing list
> iPhone at haskell.org
> http://www.haskell.org/**mailman/listinfo/iphone<http://www.haskell.org/mailman/listinfo/iphone>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20130228/89d74ece/attachment.htm>


More information about the iPhone mailing list