Verlag: BS Pub, 2007
ISBN 10: 8178001594 ISBN 13: 9788178001593
Anbieter: Vedams eBooks (P) Ltd, New Delhi, Indien
Hardcover. Zustand: New. Contents Foreword. Preface. Acknowledgement. 1. Programmers view of Linux. 2. Compiling C and C++ Programs Under Linux. 3. Command line arguments. 4. Environment. 5. System limits. 6. Assembly in Linux. 7. Libraries. 8. LEX and YACC. 9. Unix Memory Management. 10. Memory mapped files. 11. GNU Debugger. 12. GCOV A coverage testing tool. 13. Profiling. 14. Valgrind and Alleyoop. 15. Make. 16. Revision Control System. 17. SW distribution tools. Websites. References. Index. In the recent years Linux a public domain freely available Unix variant has attracted the people very much. Today's complex production environments demands superior application performance. Linux is having extraordinary advantages such as complete source code access availability of exceptional optimization testing tools. This book has explored this facet of Linux. Features Explained Linux success stories with emphasis on facilities and tools available in Linux for SW development. Explains GCC (GNU) toolchain in detail combining C and C++ C and Java and C and Fortran in a lucid manner. How command line arguments can be handled by C/C++ programs with GETOPT ARGP library are dealt. Discusses about environment variables and their management. System limits are explored with their implication of program performance. Explains about how assembly programming can be done under Linux. How mix C and assembly how system calls can be called from assembly how modules can be developed in assembly and a bare boot (OS) program creation are discussed in detail. How static and dynamic libraries are developed and commissioned in Linux is explained and how Libtool can be used for library development in discussed. Dealt with LEX/YACC tools which are to be used in compiler development. Memory management memory errors Linux memory management etc. are described with illustrative examples. A popularly used tool for detecting memory errors Electric Fence is explained with concept oriented examples. A chapter on Valgrind explained as to how memory can be checked for memory leaks segment violations analyze the cache performance in an illustrative manner. Describes memory mapping files especially for large files and the impact on program's performance. GNU Debugger (GDB) is detailed GCOV and GPROF explain about profiling of a C program to improve its performance MAKE RCS SW tools explain how they can be used for SW development in practice. 566 pp.