Differences between gmake and make

Source: Internet
Author: User

One statement:
Gmake is short for GNU make.
In Linux, make is GNU make. gmake is available because make is generally used on other platforms and GNU make has to be called gmake.
For example, you must use the make command when installing a binary file for compilation. However, if you are running on Solaris or other non-GNU systems, you must use GNU make instead of the make version that comes with the system,
In this case, use gmake instead of make for compilation.
Another statement:
Gmake and BSD make are different, and their makefile is somewhat incompatible, such as the writing method and meaning of some variables.
If the compiled program is different, it is only because the specified commands in makefile are different.
Because the makefile syntax of the kernel is somewhat special, gmake does not seem to be used to compile the BSD kernel. It seems that it is only applicable to the Make

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.