可执行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 -a
或uname -p
file /usr/bin/make
-
uname -a
or specificallyuname -p