A compiler that began as one man's project now supports dozens of languages and platforms
In short: The GNU Compiler Collection started in 1987 as a C compiler and grew into a toolchain covering many languages and more platforms than any other compiler. Its story shows how free software can shape the tools the rest of the world depends on, from Linux to embedded chips.
The GNU Compiler Collection, usually called GCC, is a set of compilers from the GNU Project. The Free Software Foundation distributes it under the GNU General Public License. Richard Stallman released its first version, GCC 1.0, in 1987, when it was named the GNU C Compiler because it handled only the C language. C++ support followed in December of that year, and front ends were later added for many other languages, including Fortran, Ada, Go, Rust and COBOL. GCC's early history was shaped by licensing. Stallman first looked at an existing compiler, but its author noted that the compiler itself was not free, so Stallman chose to write a new one from scratch. Its first release arrived just as Sun Microsystems began selling its development tools separately, which led many users to download GCC instead. By 1990 it supported thirteen computer architectures and was used commercially by several companies.
The project also had tensions. Because the GPL allowed forks, developers who wanted features the official project did not accept created their own versions. Many found the official process slow, since the project favored stability. In 1997 several forks merged into the Experimental/Enhanced GNU Compiler System, which the Free Software Foundation later adopted as the official GCC in 1999, reuniting the projects with the release of GCC 2.95 that July. Today GCC is built in C++, a change the steering committee announced in 2012. Its design separates work into front ends that parse each language into a common tree form, a middle end that analyzes and optimizes code independently of language and hardware, and a back end that generates machine code for a target. That separation is why one back end can serve many languages.
headline_check_placeholder
Opens the Intellect+ feed with this card first. Swipe up for the next one.
Sources
- Summary by Intellect · source: GNU Compiler Collection
To cite this card, link to https://intellectplus.co.uk/app/technology-gnu-compiler-collection.
How we source, check and correct cards: Editorial standards.
General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.
Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?
Related
More in Technology today · More in Technology · Latest · A–Z · All topics