在OS X上使用'make' [英] Using 'make' on OS X

查看:73
本文介绍了在OS X上使用'make'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试进行MacBook Pro的开发.

I have a MacBook Pro that I'm trying to do some development on.

我有一个要构建的程序,当我使用make进行构建时,出现找不到命令"错误.我做了一些谷歌搜索和堆栈溢出搜索,但看起来这不是一个普遍的问题.为什么我没有安装make以及如何获取它?

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.

推荐答案

您是否安装了Apple开发人员工具? 如果键入gcc -v会发生什么?

Have you installed the Apple developer tools? What happens if you type gcc -v ?

好像没有下载开发资料.您可以从 http://developer.apple.com/

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屋!

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