Knowledge Point: Compiling open source code

Source: Internet
Author: User

After the source code is downloaded, the basic steps:

1, execute./configure

Some parameters should be added later, including Cc\host\prefix and so on;

2, after execution, will generate makefile file;

perform make to compile;

3, perform the make install for installation to the specified location.

Reference:

Http://www.linuxidc.com/Linux/2011-02/32211.htm

http://blog.csdn.net/luckywang1103/article/details/18674231

The./configure is used to detect the target characteristics of your installation platform. For example, it detects if you have CC or GCC, does not need CC or GCC, it is a shell script.

Make is used to compile, it reads the instruction from the makefile, and then compiles.
The make install is used to install, and it also reads instructions from makefile and installs to the specified location.

Knowledge Point: Compiling open source code

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.