[Haskell-iPhone] ld: warning with HEAD

Schell Scivally efsubenovex at gmail.com
Fri Dec 20 22:35:15 UTC 2013


I fixed my earlier problems with compiling primitive and vector by
re-compiling ghc-iphone HEAD. It seems now that I can use
arm/i386-apple-darwin10/11-cabal to build a static lib, but when I try to
link it in my Xcode project I get ld warnings:

ld: warning: ignoring file
/Users/schell/Code/blocks-ios/Blocks/dist-arm/build/Blocks/Blocks.a, file
was built for archive which is not the architecture being linked (i386):
/Users/schell/Code/blocks-ios/Blocks/dist-arm/build/Blocks/Blocks.a

I get one of those for each architecture being built (armv7, armv7s, arm64,
i386). Here are some details on my setup:
https://gist.github.com/schell/f3a737171ce2f6b1119c

Any help would be much appreciated! :)
-- 
Schell Scivally
http://blog.efnx.com
http://github.com/schell
http://twitter.com/schellsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/iphone/attachments/20131220/d0562f6e/attachment.html>


More information about the iPhone mailing list