This manual provides a complete tutorial introduction to the GNU C and C++ compilers, gcc and g++.
Many books teach the C and C++ languages, this book teaches you how to use the compiler itself. All the common problems and error messages encountered by new users of GCC are carefully explained, with numerous easy-to-follow "Hello World" examples.
Topics covered include: compiling C and C++ programs using header files and libraries, warning options, use of the preprocessor, static and dynamic linking, debugging, optimization, platform-specific options, profiling and coverage testing, paths and environment variables, and the C++ standard library and templates.
Features a special foreword by Richard M. Stallman, principal developer of GCC and founder of the GNU Project.
......(更多)
......(更多)
......(更多)
$ gcc -Wall badpow.c -lm badpow.c: In function `main': badpow.c:6: warning: implicit declaration of function `pow'
......(更多)