Hi Sergey,
Yes, I was hoping to find time to finish a new iteration of GHC-iOS with
the new toolchain in Xcode 5 before it was released but didn't quite make
it. I hope to have some time this week.
In the meantime you should be able to grab Xcode 4.6.3 by visiting
developer.apple.com/ios and clicking "Looking for an older version of
Xcode?". Xcode 4.6.3 and Xcode 5 should be able to live happily next to one
another if you give them different names (that's how I've been navigating
this).
Cheers
Luke
On Mon, Sep 30, 2013 at 4:16 AM, Sergey Mikhanov
Hi,
Using Xcode 5 Final for building GHC is not possible because of llvm-gcc-4.2 made obsolete.
One of the scripts in ghc-ios-scripts (arm-apple-darwin10-gcc) invokes llvm-gcc-4.2 from Xcode setup:
TARGET_BIN="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin" TARGET_GCC=$TARGET_BIN/arm-apple-darwin10-llvm-gcc-4.2
This binary is absent from Xcode 5. I tried using this configuration in arm-apple-darwin10-gcc:
TARGET_BIN=/Applications/Xcode.app/Contents/Developer/usr/bin TARGET_GCC=$TARGET_BIN/gcc
This results in this error: http://lpaste.net/93640. Looks like this gcc binary is just a link to clang.
Is there any way around it?
Thanks, Sergey Mikhanov _______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone