Product SiteDocumentation Site

Chapter 5. Building the Code

Greg DeKoenigsberg

Red Hat Community Architecture
5.1. From Source to Executable
5.2. What is Building, Exactly?
5.3. Living With Complexity
CS390X/Java Path
5.4. Building Sequence Generator: Using Apache Ant
5.4.1. Finding the Build Instructions
5.4.2. Trying Out Ant
5.5. Build Wrap-Up
5.5.1. Building Your Development Environment
5.5.2. Supplemental Reading
Freeciv/GNU Autotools Path
5.4. Building Freeciv: Watching GNU Autotools at Work
5.4.1. Finding the Installation Instructions
5.5. Installing Prerequisites
5.6. configure
5.7. make
5.8. Review: What Just Happened?
5.9. Exercise - Building Your Developer Workstation
5.10. Supplemental Reading

5.1. From Source to Executable

Now you know how source control works, and you've got a gigantic pile of source code sitting in a directory.
What do you do with it?
The process of turning source code into a packaged, useful product with binary code can be extremely complicated. The more source code and the hgiher the quality goals, the more complicated that process is. Almost every serious piece of software has its own build process, that every developer must follow—and woe be unto the developer who repeatedly breaks the build for everyone else.
In this chapter, you learn about how software is built. You learn about how the build process works in general, about some tools that you are likely to see, and you walk through a build for a project to see how it works in practice.