Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Building

After this chapter you can turn a project into the artifact that you want to ship.

It covers how sources become an artifact, and which options decide what that artifact is, for which target it is built, and how hard the optimizer works. It then covers how the object files are joined with the libraries and with the standard library, what the compiler reports when a build fails, and how to change the severity of a message. At the end it covers what to put into the binary so that a debugger finds the source of a shipped build.