GNU Compiler Collection

The GNU Compiler Collection (GCC) is part of the GNU toolchain and includes front ends for C and C++.

Installation

Install the gcc package.

Other available front-ends are:

Old versions

Old versions of GCC may be useful for historical curiosity, old projects that cannot be compiled on the current versions, or for testing the compatibility of projects:

  • GCC 4.3: gcc43AUR
  • GCC 4.4:
  • GCC 4.5:
  • GCC 4.6:
  • GCC 4.7: gcc47AUR
  • GCC 4.8:
  • GCC 4.9: gcc49AUR
  • GCC 5:
  • GCC 6:
  • GCC 7:
  • GCC 8:
  • GCC 9:
  • GCC 10:
  • GCC 11:

Other front-ends for old versions of GCC may be found on the official repositories and the AUR by searching for , e.g. searching for for GCC 9 front-ends.

Tip: Use the CC (for C) and CXX (for C++) environment variables to specify which version of GCC will be used with e.g make or cmake. For example:
$ export CC=gcc-11 CXX=g++-11
gollark: The main constraints for high-performance computer stuff *now* are heat and power, or I guess sometimes networking between nodes.
gollark: Also, for random real-world background, there are only two companies making (high-performance, actually widely used) CPUs: Intel and AMD, and two making GPUs: AMD and Nvidia. Other stuff (flash storage, mainboards, RAM, whatever else) is made by many more manufacturers. Alienware and whatnot basically just buy parts from them, possibly design their own cases (and mainboards for laptops, to some extent), and add margin.
gollark: You could just have them require really powerful nonquantum computers.
gollark: Quantum computing accelerates specific workloads, not just *everything*.
gollark: I suppose the future might have a lot of vertical integration going on.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.