GNU Make 4.2 发布,集成 Guile 表达式语言

oschina
 oschina
发布于 2016年05月23日
收藏 7

GNU Make 4.2 发布了,Make是一个Linux的实用工具,可以自动判断程序的哪一部分需要重新编译。一旦作出判断位需要重新编译,它输入必要的命令来完成。让经常被用来从源 代码安装应用程序时,所以开放源码的开发者应该更了解这个工具,以及如何应用。如果您打算开发一个应用程序,可以从源代码安装,你需要知道如何创建一个 Makefile文件。 这个Makefile中描述您的应用程序中各个文件的关系,包括需要的声明,将它们连着一起。如果您熟悉安装应用程序,您就知道命令string ./configure; make ; make install。

更新内容:

  • New variable: $(.SHELLSTATUS) is set to the exit status of the last != or $(shell ...) function invoked in this instance of make.  This will be "0" if successful or not "0" if not successful.  The variable value is unset if no != or $(shell ...) function has been invoked.

  • The $(file ...) function can now read from a file with $(file <FILE).

  • The function is expanded to the contents of the file.  The contents are 

    expanded verbatim except that the final newline, if any, is stripped.

  • The makefile line numbers shown by GNU make now point directly to the specific line in the recipe where the failure or warning occurred.

  • Sample changes suggested by Brian Vandenberg <address@hidden>

  • The interface to GNU make's "jobserver" is stable as documented in the manual, for tools which may want to access it.

  • WARNING: Backward-incompatibility! The internal-only command line option--jobserver-fds has been renamed for publishing, to --jobserver-auth.

  • The amount of parallelism can be determined by querying MAKEFLAGS, even when 

    the job server is enabled (previously MAKEFLAGS would always contain only

    "-j", with no number, when job server was enabled).

VMS-specific 更新:

  • Perl test harness now works.

  • Full support for converting Unix exit status codes to VMS exit status 

    codes.  BACKWARD INCOMPATIBILITY Notice: On a child failure the VMS exit code is now the encoded Unix exit status that Make usually generates, not the VMS exit status of the child.

详情点击此处查看。

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 OSCHINA 社区 [http://www.oschina.net]
本文标题:GNU Make 4.2 发布,集成 Guile 表达式语言
加载中

最新评论(8

ruki
ruki
自从用上xmake,就再也不想碰makefile了
加百列Gabriel
加百列Gabriel
guile是scheme的实现,并不是一种编程语言
walkskyer
walkskyer
是这个动作吗?OTL
chai2010
chai2010
自从用上了rake,就再也不想碰makefile了
所以呢
所以呢
益子
以前没有发现guile叫跪了。。。。
itfanr
itfanr
支持!
返回顶部
顶部