C Programming What is the meaning of the options g o c Wall

C++ Programming

What is the meaning of the options –g –o –c –Wall used with the g++ compiler?

Solution

==> -g option allows for debugging tools like gdb

==> -o command line option names the executable .

==> -c is nothing but a command line option that compiles the source code into and an object file (.o file)

==> -Wall option is nothing but it tells the compiler to show warnings.

==> g++ compiles the c++ source code into executables.

C++ Programming What is the meaning of the options –g –o –c –Wall used with the g++ compiler?Solution==> -g option allows for debugging tools like gdb ==>

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site