Contents¶
- 1. Basic Compilation
- 1.1. Introduction
- 1.2. Basic Compilation
- 1.3. Anatomy of the C source code
- 1.4. Explanation of compilation
- 1.5. Change the generated file name
- 1.6. Building with two files
- 1.7. Compiler Flags — Warning
- 1.8. Fix compiler warning
- 1.9. Use common header file
- 1.10. More complex compilation — many output binaries
- 1.11. Build using a Makefile
- 1.12. Makefile with more default convention
- 1.13. Makefile with Variables
- 1.14. Makefile — With CFLAGS
- 1.15. Running Make multiple times
- 1.16. Running Make multiple times — After editing a file
- 1.17. Dependencies in a Makefile
- 1.18. Using GCC to create dependency files for the Makefile
- 1.19. Final source code for basic compilation
- 2. Makefile Generators
- 3. Build Diversity Management
- 4. Static Code Analysis
- 5. Appendix
- 5.1. Tools
- 5.1.1. Assembler
- 5.1.2. cl.exe (Microsoft Visual Studio C Compiler)
- 5.1.3. CMake
- 5.1.4. Compiler
- 5.1.5. ELF (Executable and Linkable Format)
- 5.1.6. Executable
- 5.1.7. GCC (GNU C Compiler)
- 5.1.8. GYP
- 5.1.9. Interface
- 5.1.10. Library
- 5.1.11. Linker
- 5.1.12. Make / GNUMake / GMake
- 5.1.13. Ninja
- 5.1.14. Premake
- 5.1.15. SCons
- 5.2. Build Information
- 5.3. Contact
- 5.1. Tools