arm-apple-darwin11-llvm-g++-4.2 在哪里或者在哪里可以更改编译器?

发布于 2024-12-20 06:07:41 字数 207 浏览 3 评论 0原文

我想编译一个arm架构的lib。显然 Xcode 已插入路径“arm-apple-darwin11-llvm-g++-4.2”。

有两个问题:

  1. 在哪里可以更改此设置?
  2. 我的系统上只找到了arm-apple-darwin10-llvm-g++-4.2,如何更新到arm-apple-darwin11-llvm-g++-4.2?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不必在意 2024-12-27 06:07:41

通常可以通过单击您的项目,然后在“构建选项”下选择“构建设置”来选择 XCode 编译器。

Darwin11 是 OS X Lion 10.7,
所以当你想升级编译器时,你必须升级你的操作系统并重新安装XCode。

编辑:正如我刚刚看到的,arm 编译器似乎没有 darwin11 变体。只有 i686(和 x86_64)-apple-darwin11 编译器。

也许arm的darwin11会在下一个版本中?我不知道......但 XCode 4.2.1(4D502) - 当前的生产版本 - 不应该指 arm-apple-darwin11-llvm-g++-4.2 。

然而,10.7 SDK目录中有一个名为arm-apple-darwin11的目录,但在我的系统(10.7.2最新的MBA,从未安装过10.6)上它是空的。

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.

开始看清了 2024-12-27 06:07:41

apple darwin 是 OSX 的核心,我认为运行 darwin 11 最简单的方法(如果不是唯一的方法)是将您的 OSX 升级到 10.7.1

编辑:该死的 cli_hlt 你太快了!

apple darwin is the core of OSX, I think the easiest way (if not the only one) to get darwin 11 running is to upgrade your OSX to 10.7.1

edit: damn cli_hlt you're fast!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文