Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using iOS 7 SDK with llvm-gcc-4.2

I've installed xcode 5 and noticed that gcc compiler is deprecated. Assuming that I don't want to switch to Apple LLVM 5.0, here come my questions:

Is it possible to use iOS7 SDK and still compile in llvm-gcc-4.2?

If yes, how to do this?

If you don't know if that's possible, please don't post answers like "use clang, man", because they are not actually answering the questions I've posted.

like image 508
podkova Avatar asked Sep 19 '13 09:09

podkova


1 Answers

Apple has removed the support for llvm-gcc-4.2 in XCode 5. Even if you install and change your base sdk to 6.1 sdk, you won't be able to build using llvm-gcc-4.2. So your only option is to continue using XCode 4.x if you want to use llvm-gcc-4.2.

like image 52
rakmoh Avatar answered Nov 14 '22 23:11

rakmoh