30 Sep
2013
30 Sep
'13
4:46 p.m.
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