Chapter 29. Programming Tools and Utilities
IN THIS CHAPTER
Using the GCC compiler
Automating builds with make
Examining library utilities
Exploring source code control
Debugging with GDB
The preceding chapter, "Programming Environments and Interfaces," provided a high-level view of Linux programming, focusing on the overall development environment and introducing the idioms that give programming on a Linux system its distinctive character. This chapter goes into greater detail and describes some of the tools and toys found on a typical Linux development system.
The goal of this chapter is not to turn you into a developer in 30 pages or less, but simply to explore some of the variety of tools developers use so you will at least know what they are and what they do. You'll also learn how to use some of the programs and utilities.
The Well-Stocked Toolkit
Whether you prefer a graphical development environment or the classic command-line environment, you need a good set of tools if you want to write, compile, and debug programs for Linux. The good news is that Linux has plenty of editors, compilers, and debuggers from which to choose. The bad news is that Linux has plenty of editors, compilers, and debuggers from which to choose.
The range of programming tool options is good news for developers because they can pick the best and most appropriate tools for the development task at hand. The proliferation of choices is bad news for system administrators who need to install and maintain the tools ...
Sura ya 29 Programu ya GCC: Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda na Kuunda. Sura hii huenda katika maelezo zaidi na inaelezea baadhi ya zana na toys kupatikana juu ya kawaida Linux mfumo wa maendeleo. Lengo la sura hii si kugeuka wewe kuwa developer katika kurasa 30 au chini, lakini tu kuchunguza baadhi ya aina ya zana watengenezaji kutumia hivyo wewe angalau kujua nini wao ni na nini wao kufanya. Pia utajifunza jinsi ya kutumia baadhi ya programu na vifaa. Kama wewe wanapendelea graphical maendeleo mazingira au classic amri-line mazingira, unahitaji seti nzuri ya zana kama unataka kuandika, kukusanya, na debug programu kwa ajili ya Linux. Habari njema ni kwamba Linux ina mengi ya wahariri, compilers, na debuggers kutoka ambayo kuchagua. Habari mbaya ni kwamba Linux ina mengi ya wahariri, compilers, na debuggers kutoka ambayo kuchagua. Aina ya chaguzi za zana za programu ni habari nzuri kwa watengenezaji kwa sababu wanaweza kuchagua zana bora na zinazofaa zaidi kwa kazi ya maendeleo iliyo karibu. Kuongezeka kwa chaguzi ni habari mbaya kwa wasimamizi wa mfumo ambao wanahitaji kufunga na kudumisha zana...