Where does the C compiler reside in the Red Hat installation?

Updated -

The C compiler is accessible as the program name gcc which is the GNU project C and C++ compiler. It is located in the /usr/bin directory and is part of the gcc-<version> rpm package.

Below is an example of how to use gcc. The -o switch creates and executable file by the name of whatever you provide, in this example ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content