windows - perl模块安装make和nmake比较

标签 windows linux perl makefile nmake

与 Windows 和 linux/Unix 操作系统相比,模块安装有所不同。

在 Win32 中我们需要使用一个叫做 nmake 的程序,然后我们按照

 1. C:\> perl Makefile.PL 
 2. C:\> nmake
 3. C:\> nmake test
 4. C:\> nmake install

在 Linux 中我们遵循

 1. $ perl Makefile.PL
 2. $ make
 3. $ make test
 4. $ make install

两个操作系统的安装过程是相同的,唯一的区别是使用的关键字 ma​​kenmake。任何人都可以让我知道字母 n 代表什么以及它在 Windows 中的规范是什么。

最佳答案

来自 Wikipedia ,

Microsoft nmake, commonly available on Windows. It is fairly basic in that it offers only a subset of the features of the other two versions of Make (BSD and GNU ). Microsoft's nmake is not to be confused with nmake from AT&T and Bell Labs for Unix.

微软nmake详解here和 GNU make 详细 here

关于windows - perl模块安装make和nmake比较,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9799584/

相关文章:

php-cgi 未在 Windows 下为谷歌应用引擎执行

java - 等同于 Java 的 System.getProperty ("java.io.tmpdir") 在 C 中?

c++ - 需要帮助通过引用类传递 Windows 事件句柄

windows - Windows 中的进程间信号量

linux - 如何按国际数量对标题行和数据进行排序,并使标题行保持在顶部

linux - 审核 netlink 响应没有正确的数据包长度

linux - 为什么 munmap 需要一个长度作为参数?

PERL 计算不可打印字符

Perl 更改调用者的工作目录

javascript - 多页复选框处理