Table of Contents
1. Overview of Red Hat Enterprise Linux Developer Tools............................................................ 1
2. Basic Principles of the Tools........................................................................................................... 3
2.1. Compiler and Development Tools ..................................................................................... 3
2.2. Libraries ............................................................................................................................. 3
2.3. Auxiliary Development Tools ............................................................................................ 4
2.4. gcc, the GNU Compiler Collection................................................................................... 4
2.5. cpp, the GNU Preprocessor............................................................................................... 5
2.6. as, the GNU Assembler..................................................................................................... 6
2.6.1. Object Files ......................................................................................................... 6
2.6.2. Assembler Directives .......................................................................................... 7
2.7. ld, the GNU Linker ............................................................................................................ 7
2.8. gcov, the Test Coverage Tool ............................................................................................ 8
2.9. gdb, the Debugging Tool.................................................................................................... 8
2.10. make, the GNU Recompiling Tool .................................................................................. 8
2.10.1. Example Makefile .......................................................................................... 9
2.11. binutils, the GNU Binary Utilities ................................................................................. 10
2.12. Using info, the Documentation Tools ............................................................................ 10
2.12.1. Reading info Documentation .......................................................................... 11
2.13. Learn More About the Tools.......................................................................................... 11
3. Developing with Red Hat Enterprise Linux Developer Tools................................................... 13
3.1. Create Source Code.......................................................................................................... 13
3.2. Compile, Assemble, and Link from Source Code ........................................................... 13
3.3. Run the Executable .......................................................................................................... 13
3.4. Debug the Executable ...................................................................................................... 14
3.5. Assembler Listings........................................................................................................... 16
3.6. Disassembling.................................................................................................................. 16
Index................................................................................................................................................... 19
Kommentare zu diesen Handbüchern