<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Erik,<div class=""><br class=""></div><div class="">I forgot to follow up, but I just wanted to say this approach worked. </div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">James</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 9, 2015, at 5:22 PM, Erik Deijl <<a href="mailto:erik.deijl@gmail.com" class="">erik.deijl@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi James,<div class=""><br class=""></div><div class="">I set my TARGET_LD variable to <font face="monospace, monospace" class="">`xcrun --sdk iphonesimulator -f ld`</font>  (note, those are backticks, use them instead of normal quotes or double quotes) for the simulator (i386) and <font face="monospace, monospace" class=""> `xcrun --sdk ìphoneos-f ld`</font> for armand aarch64, these works for me.</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class=""><br class=""></div><div class="">Erik</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Dec 9, 2015 at 10:08 PM, James Parker <span dir="ltr" class=""><<a href="mailto:jp@jamesparker.me" target="_blank" class="">jp@jamesparker.me</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="">
<br class="">
I upgraded XCode to 7.2, however cabal-ios no longer works. When I run `cabal-ios install`, I get the following error.<br class="">
<br class="">
/usr/local/ghc-ios/i386-apple-darwin11-ld: line 8: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ld: No such file or directory<br class="">
/usr/local/ghc-ios/i386-apple-darwin11-ld: line 8: exec: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ld: cannot execute: No such file or directory<br class="">
Failed to install parsec-3.1.9<br class="">
<br class="">
It looks like the scripts are now broken since Apple moved these files. Looking at my system, these are the only ld binaries available:<br class="">
<br class="">
$ find /Applications/Xcode.app | grep \/ld$<br class="">
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld<br class="">
/Applications/Xcode.app/Contents/Developer/usr/bin/ld<br class="">
<br class="">
It doesn’t look like there is a different version for each platform anymore. Does anyone know which ld to use and how to update the ghc-ios-scripts?<br class="">
<br class="">
Thanks!<br class="">
<br class="">
James<br class="">
_______________________________________________<br class="">
iPhone mailing list<br class="">
<a href="mailto:iPhone@haskell.org" class="">iPhone@haskell.org</a><br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone" rel="noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>