How to read the output of gcc -v

If I run gcc -v or g ++ -v I get below results.

gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)

      

How do I understand this?

What is (Red Hat 4.4.7-16) and what is (GCC)

Is this the OS this version of gcc is compiled on or is it Generating the OS this version of GCC is compatible with?

+3


source to share


2 answers


First, I'm not an expert.: /



But "Red Hat 4.4.7-16" refers to the GCC version (Gnu C compiler). There's a default c compiler for every major version of Red Hat Enterprise Linux (RHEL) and IIRC, you're on RHEL 6.

+2


source


So, I understand that the output

gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)

      

First part

gcc version 4.4.7 20120313

      



is the default version. Using this version redhat created its own version

(Red Hat 4.4.7-16). 

      

Please if anyone has a better idea please share it.

0


source







All Articles