GCC - C/C++ Compiler

This chapter provides introductions and tutorial examples about GCC C/C++ compilers. Topics include installing GCC C/C++ compilers; GCC compilation steps and settings; 'g++ -I' for include header files; g++ -l' for static/dynamic library files; 'g++ -shared' for building shared object (dynamic library) file; 'ldd' for checking dynamic library dependencies; 'make' tool for automation.

Install GCC C/C++ Compilers

"g++ --verbose" - GCC Compiler Steps and Settings

"g++ -I..." and CPATH Environment Variable

"g++ -l..." to Link with Library Files

"g++ -c" and "ar src" to Build Static Library

"g++ -shared" to Build Dynamic Library

"ldd" - Dynamic Library Dependency Checker

"make" - Manage Program Build Process

Takeaways:

Table of Contents

 About This Book

 Introduction to Linux Systems

 Process Management

 Files and Directories

 Running Apache HTTP Server (httpd) on Linux Systems

 Running Apache Tomcat on Linux Systems

 Running PHP Scripts on Linux Systems

 Running MySQL Database Server on Linux Systems

 Running Python Scripts on Linux Systems

 Conda - Environment and Package Manager

GCC - C/C++ Compiler

 OpenJDK - Open-Source JDK

 Graphics Environments on Linux

 SquirrelMail - Webmail in PHP

 Tools and Utilities

 References

 Full Version in PDF/EPUB