Ubuntu12.10gmake command not found

Source: Internet
Author: User
Today, when you need to make some code, gmake cannot be found in Ubuntu12.10, so I opened makefile and found make = gmake, so I searched the internet for gmake, gmake is short for GNUMake. In Linux, make is GNUMake. gmake is available because make is generally used on other platforms and GNUmake has to be called gmake. For example

Today, when you need to make some code, you will be prompted that gmake cannot be found under Ubuntu 12.10, so I opened makefile and found make = gmake, so I searched the internet for gmake. The result is:

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 need to use the make command when installing a binary file for compilation, but if you want to run it in a non-GNU system, you must use the GNU make instead of the make version that comes with the system, in this case, use gmake instead of make for compilation.

So you only need to create a link.

Cd/usr/bin

Ln-s make gmake

Of course, if you do not want to create a link, you can also change gmake in makefile to 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.