在 OS X 上使用“make" [英] Using 'make' on OS X
问题描述
我有一台 MacBook Pro,我正在尝试对其进行一些开发.
我有一个要构建的程序,当我使用 make
构建它时,出现找不到命令"错误.我做了一些谷歌搜索和 Stack Overflow 搜索,看起来这不是一个常见问题.为什么我没有安装 make
以及如何获得它?
我特别困惑,因为我知道我最近(在过去一个月左右)使用这台笔记本电脑时使用过它.
您是否安装了 Apple 开发人员工具?如果你输入 gcc -v 会发生什么?
看起来好像你还没有下载开发的东西.您可以从 http://developer.apple.com/
I have a MacBook Pro that I'm trying to do some development on.
I have a program I want to build, and when I went to use make
to build it, I got a "command not found" error. I did some googling and Stack Overflow searches and it doesn't look like this is a common problem. Why don't I have make
installed and how do I get it?
I'm extra confused, because I know I used it relatively recently (in the past month or so) when I was on this laptop.
Have you installed the Apple developer tools? What happens if you type gcc -v ?
It look as if you do not have downloaded the development stuff. You can get it for free (after registration) from http://developer.apple.com/
这篇关于在 OS X 上使用“make"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!