简体   繁体   English

如果我使用Haskell平台(2013.2.0.0)与GHC(7.6.3)是否可以安装Xcode 5?

[英]If I am using Haskell Platform (2013.2.0.0) with GHC (7.6.3) is it okay to install Xcode 5?

I currently have Xcode 4.6.3 installed. 我目前安装了Xcode 4.6.3。 Today the App Store told me that Xcode 5 is available. 今天App Store告诉我Xcode 5可用。

Should I upgrade, or will the upgrade break GHC 7.6.3? 我应该升级,还是升级会破坏GHC 7.6.3?

I am looking at ghc trac #8197 and ghc trac #8148 , and they seem to suggest that there will be problems. 我在看ghc trac#8197ghc trac#8148 ,他们似乎暗示会有问题。 Is that correct? 那是对的吗?

No it is not. 不它不是。

Upgrading to Xcode 5 will break a whole mess of things. 升级到Xcode 5将打破一堆乱七八糟的东西。 (A common one is Cabal installs) (常见的是Cabal安装)

GHC 7.6.x does not now how to use clang for a preprocessing step and it will break. GHC 7.6.x现在没有如何使用clang进行预处理步骤,它会破坏。

Do not upgrade to Xcode 5 until GHC 7.8 is released. 在GHC 7.8发布之前,请勿升级到Xcode 5。

I did this before I started learning haskell and it was not a fun experience trying to figure out what went wrong when I tried to download cabal packages and ghc generated a 4000 line error code. 在我开始学习haskell之前,我做到了这一点,当我尝试下载cabal包并且ghc生成了4000行错误代码时,试图弄清楚出了什么问题并不是一种有趣的体验。

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

If anyone who has already downloaded Xcode 5 stumbles upon this after everything breaks, the way to fix your bug is: 如果任何已经下载Xcode 5的人在一切都中断后会发现这一点,那么修复bug的方法是:

  1. Download the Xcode 4.6.x command line tools from the apple developer website. 从Apple开发人员网站下载Xcode 4.6.x命令行工具
  2. Install 安装
  3. Write some killer Haskell 写一些杀手Haskell

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM