Red Hat Enterprise Linux 7 Developer Guide
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat Enterprise Linux 7 Developer Guide An introduction to application development tools in Red Hat Enterprise Linux 7 Jacquelynn East Don Domingo Robert Krátký Red Hat Enterprise Linux 7 Developer Guide An introduction to application development tools in Red Hat Enterprise Linux 7 Jacquelynn East Red Hat Customer Content Services [email protected] Don Domingo Red Hat Customer Content Services [email protected] Robert Krátký Red Hat Customer Content Services [email protected] Legal Notice Copyright © 2015 Red Hat, Inc. and others. This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The OpenStack ® Word Mark and OpenStack Logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. Abstract This document describes the different features and utilities that make Red Hat Enterprise Linux 7 an ideal enterprise platform for application development. T able of Cont ent s Table of Contents .C .h .a .p . t.e .r . 1. .. C. o. .l l.a .b .o .r .a .t i.n . g. 2. 1.1. Co ncurrent Versio ns System (CVS) 2 1.2. Ap ache Sub versio n (SVN) 9 1.3. Git 16 .C .h .a .p . t.e .r . 2. .. L. i.b .r .a .r i.e .s . a. n. d. R. u. .n .t .i m. .e . S. u. p. .p .o .r .t . 2. 2. 2.1. Versio n Info rmatio n 22 2.2. Co mp atib ility 23 2.3. Lib rary and Runtime Details 24 .C .h .a .p . t.e .r . 3. .. .C .o .m . p. .i l.i n. g. .a .n . d. .B . u. i.l d. i.n . g. 4. 8. 3.1. GNU Co mp iler Co llectio n (GCC) 48 3.2. Distrib uted Co mp iling 72 3.3. Auto to o ls 72 3.4. b uild -id Uniq ue Id entificatio n o f Binaries 73 3.5. So ftware Co llectio ns and scl-utils 74 .C .h .a .p . t.e .r . 4. .. D. .e .b .u .g . g. i.n .g . 7. 6. 4.1. ELF Executab le Binaries 76 4.2. Installing Deb ug info Packag es 77 4.3. GDB 8 0 4.4. Variab le Tracking at Assig nments 9 2 4.5. Pytho n Pretty-Printers 9 2 4.6 . ftrace 9 5 .C .h .a .p . t.e .r . 5. .. M. .o .n .i t. o. r. i.n .g . P. .e .r f.o . r.m . a. n. c. e. 9. 7. 5.1. Valg rind 9 7 5.2. OPro file 9 9 5.3. SystemTap 10 2 5.4. Perfo rmance Co unters fo r Linux (PCL) To o ls and p erf 10 5 .C .h .a .p . t.e .r . 6. .. W. .r i.t .i n. g. D. o. .c .u .m . e. n. t. a. t. i.o .n . .1 . 0. 9. 6 .1. Do xyg en 10 9 .A .p .p . e. n. d. i.x . .1 . 1. 6. A.1. mallo p t 116 .m . a. l.l o. c. _. t. r.i m. .1 . 1. 6. .m . a. l.l o. c. _. s. t. a. t.s . .1 . 1. 7. .F .u .r t. h. e. r. .I n. f.o . r.m . a. t. i.o .n . .1 . 1. 7. .R .e .v .i s. i.o . n. .H . i.s .t o. .r y. .1 . 1. 8. ..