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

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

问题描述

我有一台 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屋!

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