792 Part VI . Programming in Linux Table (Free php web host)

792 Part VI . Programming in Linux Table 29-2 (continued) Option Description -static Links against static libraries. -traditional Supports the Kernighan and Ritchie C syntax (if you don t understand what this means, don t worry about it). -v Shows the commands used in each step of compilation. -W Suppresses all warning messages. -Wall Emits all generally useful warnings that gcc can provide. Specific warnings can also be flagged using -Wwarning, where warning is replaced a string identifying an item for which you want to list warnings. -werror Converts all warnings into errors, stopping the compilation. As mentioned earlier, -o file tells GCC to place output in the file file regardless of the output being produced. If you do not specify -o, for an input file named file.suffix, the defaults are to name the executable a.out, the object file file.o, and the assembly language file file.s. Preprocessor output goes to stdout. Automating Builds with make The make utility is a tool to control the process of building and rebuilding software. Make automates what software gets built, how it gets built, and when it gets built, freeing programmers to concentrate on writing code. It also saves a lot of typing, because it contains logic that invokes GCC compiler-appropriate options and arguments. Use this section to familiarize yourself with the look and layout of makefiles. For all but the simplest software projects, make is essential. In the first place, projects composed of multiple source files require long, complex compiler invocations. Make simplifies this by storing these difficult command lines in the makefile, a text file that contains all of the commands required to build software projects. Make is convenient for both the developer and the user who want to build a program. As developers make changes to a program, whether to add new features or incorporate bug fixes, make makes it possible to rebuild the program with a single, short command. Make is convenient for users because they don t have to read reams of documentation explaining in excruciating, mind-numbing detail how to build a program. Rather, they can simply be told to type make followed by make
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.

Leave a Reply