Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is arm-apple-darwin11-llvm-g++-4.2 or where can I change the compiler?

I want to compile a lib for arm architecture. Apparently Xcode has inserted a path "arm-apple-darwin11-llvm-g++-4.2".

Two Questions:

  1. Where can I change this setting?
  2. I only find the arm-apple-darwin10-llvm-g++-4.2 on my system, how can I update to arm-apple-darwin11-llvm-g++-4.2?
like image 655
Marc Schlösser Avatar asked Nov 19 '25 17:11

Marc Schlösser


1 Answers

The XCode compiler can usually be selected by clicking your project and then selecting "Build Settings" and there under "Build Options".

Darwin11 is OS X Lion 10.7, so when you want to upgrade the compiler, you will have to upgrade your OS and reinstall XCode.

Edit: As I just have seen, there seems to be no darwin11 variant for the arm compiler. There is only a i686 (and x86_64)-apple-darwin11 compiler.

Maybe the darwin11 for arm is in the next release? I don't know...but XCode 4.2.1(4D502) - the current production release - shouldn't be referring to an arm-apple-darwin11-llvm-g++-4.2 .

There is, however, a directory called arm-apple-darwin11 in the 10.7 SDK directories, but on my system (10.7.2 latest MBA, never had 10.6 installed on it) its empty.

like image 131
cli_hlt Avatar answered Nov 24 '25 07:11

cli_hlt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!