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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.