是什么了gmake,使区别? [英] What is the difference between gmake and make?

查看:127
本文介绍了是什么了gmake,使区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解使用gmake'和'化妆'之间的区别?

I am trying to understand the difference between 'gmake' and 'make'?

在我的Linux机器,他们是相同的:

On my linux box they are identical:

% gmake --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

% make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

我猜测这是不是在所有平台上一样吗?
是否有一个很好的理由使用了另一种?

有没有为什么有两个名字一定的历史意义?

I am guessing this isn't the same on all platforms? Is there a good reason to use one over the other?
Is there some historical significance to why there are the two names?

推荐答案

使用gmake'专指GNU使。 '使'指的是系统默认的化妆实施;在大多数Linux发行版这是GNU做,但在其他Unix系统,它可以参考一些其他实施之作,如BSD化妆,或各种商业的Unix的品牌实现。

'gmake' refers specifically to GNU make. 'make' refers to the system's default make implementation; on most Linux distros this is GNU make, but on other unixes, it could refer to some other implementation of make, such as BSD make, or the make implementations of various commercial unixes.

通过GNU接受所做的语言是由传统的make实用程序支持的超集。

The language accepted by GNU make is a superset of the one supported by the traditional make utility.

通过使用gmake命令明确可以使用GNU对make的扩展,而无需担心它们被一些其它品牌实现PTED misinter $ P $。

By using 'gmake' specifically you can use GNU make extensions without worrying about them being misinterpreted by some other make implementation.

这篇关于是什么了gmake,使区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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