Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

7 Compiling a C++ program

This chapter describes how to use GCC to compile programs written in C++, and the command-line options specific to that language.

The GNU C++ compiler provided by GCC is a true C++ compiler--it compiles C++ source code directly into assembly language. Some other C++ "compilers" are translators which convert C++ programs into C, and then compile the resulting C program using an existing C compiler. A true C++ compiler, such as GCC, is able to provide better support for error reporting, debugging and optimization.


 
 
  Published under the terms of the GNU General Public License Design by Interspire