How to use a recent GCC with Xcode 5?

后端 未结 2 1954
闹比i
闹比i 2020-12-05 03:51

Apple completely removed whatever GCC support they used to have. Is there any way to use a recent GCC (say 4.8) with Xcode 5? In other words, to use GCC in place of LLVM wit

2条回答
  •  無奈伤痛
    2020-12-05 03:59

    I'm pretty sure the latest versions of gcc can link against Apple's libraries. You can install newer versions of gcc, llvm (and clang), and a lot of other unix applications with Homebrew. Check it out here.

提交回复
热议问题