Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Non Red Hat ENTERPRISE LINUX 3 - DEVELOPER TOOLS GUIDE. Red Hat Enterprise Linux 4 Developer Tools Guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer

Résumé du contenu

Page 1 - Developer Tools Guide

Red Hat Enterprise Linux 4Developer Tools Guide

Page 2

6 Chapter 2. Basic Principles of the ToolsFor more information on the GNU compiler and its options, refer to Using the GNU Compiler Col-lection (GCC).

Page 3 - Table of Contents

Chapter 2. Basic Principles of the Tools 72.6.1. Object FilesThe assembler creates object files that, by convention, have the .o extension. These are b

Page 4

8 Chapter 2. Basic Principles of the ToolsThe linker is controlled by a linker script which is a text file containing commands in a simple lan-guage. T

Page 5 - Chapter 1

Chapter 2. Basic Principles of the Tools 9makefile. The makefile has rules which explain how and when to remake certain files that are thetargets of a

Page 6

10 Chapter 2. Basic Principles of the Toolsdepends on eight object files; the object file, main.o, depends on the source file, main.c, and onthe defs.h h

Page 7 - Basic Principles of the Tools

Chapter 2. Basic Principles of the Tools 11FLEX: A Fast Lexical Analyzer GeneratorGenerates lexical analyzers suitable for GCC and other compilers. Re

Page 8 - 2.2. Libraries

12 Chapter 2. Basic Principles of the Tools

Page 9

Chapter 3.Developing with Red Hat Enterprise LinuxDeveloper ToolsUse the tutorials in this chapter to learn about standard native development with the

Page 10 - 2.6. as, the GNU Assembler

14 Chapter 3. Developing with Red Hat Enterprise Linux Developer Tools3.3. Run the ExecutableTo run the program, use the following example:./helloThe

Page 11 - 2.7. ld, the GNU Linker

Chapter 3. Developing with Red Hat Enterprise Linux Developer Tools 15The following output displays:12 int13 main (void)14 {15 int b;1617 a = 3;18 b =

Page 12 - 2.9. gdb, the Debugging Tool

Red Hat Enterprise Linux 4: Developer Tools GuideRed Hat, Inc.1801 Varsity DriveRaleigh NC 27606-2072 USAPhone: +1 919 754 3700Phone: 888 733 4281Fax:

Page 13 - 2.10.1. Example Makefile

16 Chapter 3. Developing with Red Hat Enterprise Linux Developer Tools#1 0x15c in main () at hello.c:1813. To exit the program and quit the debugger,

Page 14

Chapter 3. Developing with Red Hat Enterprise Linux Developer Tools 17You could also use the -D option to produce a dissassembly of all of the section

Page 15

18 Chapter 3. Developing with Red Hat Enterprise Linux Developer Tools

Page 16

IndexAas (GNU assembler)overview, 6assembler directives, 7assembler listingsoverview, 16auxiliary development toolsoverview, 4Bbinutils (GNU binary ut

Page 18 - 3.3. Run the Executable

Table of Contents1. Overview of Red Hat Enterprise Linux Developer Tools... 12. Basic Princip

Page 20 - 3.6. Disassembling

Chapter 1.Overview of Red Hat Enterprise LinuxDeveloper ToolsThis manual introduces you to the Red Hat Enterprise Linux Developer Tools and its docume

Page 21

2 Chapter 1. Overview of Red Hat Enterprise Linux Developer Tools

Page 22

Chapter 2.Basic Principles of the ToolsRed Hat Enterprise Linux Developer Tools’s C and C++ compilers, macro-assembler, debugger, bi-nary utilities, l

Page 23

4 Chapter 2. Basic Principles of the Tools2.2. LibrariesLibrary Descriptionlibc ANSI C runtime librarylibm C math subroutine librarylibstdc++ C++ clas

Page 24

Chapter 2. Basic Principles of the Tools 5• cpp GNU preprocessor that processes all the header files and macros that your target requires (referto Sect

Commentaires sur ces manuels

Pas de commentaire