可执行osx中的cpu类型错误 [英] bad cpu type in executable osx

查看:229
本文介绍了可执行osx中的cpu类型错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装OS X命令行工具,并且已经尝试了Beta版,而最新版本却无济于事.每次我尝试使用其中一种工具时,都会发生make和gnumake的情况,因为这是我现在需要的

I'm trying to install the OS X command line tools, and I've tried the beta, and the most recent and nothing is working. Every time I try to use one of the tools something like this happens, my example is make and gnumake as those are what I need right now

-bash:/usr/bin/gnumake:可执行文件中的CPU类型错误

-bash: /usr/bin/gnumake: Bad CPU type in executable

-bash:/usr/bin/make:可执行文件中的CPU类型错误

-bash: /usr/bin/make: Bad CPU type in executable

请注意,我正在运行Yosemite 10.10.4,我的处理器是2.8 GHz Intel Core i5.如果您需要更多信息,请务必告诉我

note, I am running Yosemite 10.10.4, and my processor is a 2.8 GHz Intel Core i5. If you need any more info be sure to let me know

推荐答案

您的/usr/bin/make ELF可执行文件是为其他CPU编译的.

Your /usr/bin/make ELF executable was compiled for a different CPU.

以下命令的输出应返回不同的处理器:

The outputs of below commands should return different processors:

  • file /usr/bin/make
  • uname -auname -p
  • file /usr/bin/make
  • uname -a or specifically uname -p

这篇关于可执行osx中的cpu类型错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆