IBM AIX随附的make实用程序是否与gnu make兼容 [英] Is make utility that comes with IBM AIX compatible with gnu make
问题描述
我必须将一个项目从IBM AIX移植到Linux。 IBM AIX上使用的是make。我的问题是IBM AIX make实用程序的语法是否与gnu make的语法兼容?我的意思是我也可以在没有任何更改的情况下将相同的makefile与gnu make一起使用吗?
I have to port a project from IBM AIX to Linux. It is using make that comes IBM AIX on AIX. My question is whether the syntax of IBM AIX make utility compatible with syntax of gnu make ? I mean can I use same makefiles with gnu make too without any changes?
谢谢
推荐答案
不,它们通常是不兼容的。
No, they're incompatible in general.
但是,如果IBM AIX Makefile
仅使用 POSIX make
,可能有机会使其运行在具有GNU make
的Linux上未修改。
如果没有看到实际的 Makefile
,就无法分辨。
However, if the IBM AIX Makefile
uses only features mandated by POSIX make
, there might be a chance to get it working unmodified on Linux with GNU make
.
It is impossible to tell without seeing the actual Makefile
.
这篇关于IBM AIX随附的make实用程序是否与gnu make兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!