Software build

From Wikipedia, the free encyclopedia

In the field of computer software, the term software build refers either to the process of converting source code files into executable code or the result of doing so.

While for simple programs the process consists of a single file being compiled, for complex software the source code may consist of many files and may be combined in different ways to produce many different versions. As an example, the source code for current versions of the Linux operating system is believed to consist of millions of lines of source code in thousands of files [verification needed]; these files are built to produce a number of different versions including the enterprise, home and small business versions.

The process of building a computer program is usually managed by a build tool, a program that coordinates and controls other programs. Examples of such a program are make, ant and SCons. The build utility needs to compile and link the various files, in the correct order. If the source code in a particular file has not changed then it may not need to be recompiled (may not rather than need not because it may itself depend on other files that have changed). Sophisticated build utilities and linkers attempt to refrain from recompiling code that does not need it, to shorten the time required to complete the build. Modern build utilities may be partially integrated into revision control programs like SVN. More complex process may involve other programs producing code or data for the build process.

[edit] See also

In other languages