If I use Haskell Platform (2013.2.0.0) with GHC (7.6.3), is it ok to install Xcode 5?

I currently have Xcode 4.6.3 installed. Today the App Store told me that Xcode 5 is available.

Should I upgrade, or will the GHC 7.6.3 update fail?

I watch ghc tra # 8197 and ghc tra # 8148 and they seem to suggest that there will be problems. It is right?

+6
source share
1 answer

No, it is not.

Upgrading to Xcode 5 will break the whole mess. (The usual is to install Cabal)

GHC 7.6.x no longer uses how to use clang for the preprocessing phase, and it will break.

Do not upgrade to Xcode 5 before the release of GHC 7.8.

I did this before I started studying haskell, and it wasn’t fun trying to figure out what went wrong when I tried to download cabal packages and ghc generated an error code of 4000 lines.

See: http://haskell.org/pipermail/haskell-cafe/2013-September/108902.html

If someone who has already downloaded Xcode 5 stumbles upon this after everything breaks down, a way to fix your error:

  • Download Xcode 4.6.x command-line tools from the Apple Developer website.
  • Install
  • Write some killer Haskell
+7
source

Source: https://habr.com/ru/post/954266/


All Articles