Which C Compiler Is Used in Linux?
Contents

Does Linux have C compiler?

It’s present in all Linux/Unix distributions. gcc(GNU Compiler Collection) is one of the most widely used C compilers . Ubuntu uses gcc and is installed by default when you install it on your system. Type gcc <filename> and g++ filename on the terminal to compile C and C++ programs respectively.

What is the traditional Linux C compiler?

gcc Is the default compiler for most linux distributions.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest