[Haskell-iPhone] GHC build fails for Xcode 5 Final because of llvm-gcc-4.2 made obsolete
Sergey Mikhanov
sergey at mikhanov.com
Mon Sep 30 13:16:19 CEST 2013
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
More information about the iPhone
mailing list