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

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.