- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

GNU Compiler: Difference between revisions

From HLRS Platforms
Jump to navigationJump to search
No edit summary
(Update module load command to reflect actual module system setup)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:compiler]]
{{Infobox software
| description = The '''GNU Compiler Collection''' (usually shortened to GCC) is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain. As well as being the official compiler of the GNU operating system, GCC has been adopted as the standard compiler by most other modern Unix-like computer operating systems, including GNU/Linux, the BSD family and Mac OS X.
| developer              = GNU Project
| available on      =
| category                  = [[:Category:Compiler | Compiler]]
| license                = GNU General Public License (version 3 or later)
| website                = [http://gcc.gnu.org/ GCC homepage]  
}}


The GNU Compiler Collection (usually shortened to GCC) is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain. As well as being the official compiler of the GNU operating system, GCC has been adopted as the standard compiler by most other modern Unix-like computer operating systems, including GNU/Linux, the BSD family and Mac OS X.
== General info ==
 
On most Systems the GNU compilers are available per default in form of the system compiler. To find out the default version execute
{{Command|command =
gcc --version
}}
 
On most platforms you will find additional versions beside the one provided by the base system. You can switch to an additional version with the module command
{{Command|command =
module load gcc
}}
 
{{Warning|text =
Do not use the <tt>-march=native</tt>, <tt>-mcpu=native</tt> or <tt>-mtune=native</tt> options as the frontend nodes are a different architecture than the compute nodes and you will lose performance!
}}
 
== See also ==
* [[Software Development Tools, Compilers & Libraries]]


== External links ==
== External links ==
* [http://gcc.gnu.org/ GCC homepage]
* [http://gcc.gnu.org/ GCC homepage]
[[Category:Compiler]]

Latest revision as of 21:53, 21 October 2022

The GNU Compiler Collection (usually shortened to GCC) is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain. As well as being the official compiler of the GNU operating system, GCC has been adopted as the standard compiler by most other modern Unix-like computer operating systems, including GNU/Linux, the BSD family and Mac OS X.
Developer: GNU Project
Platforms:
Category: Compiler
License: GNU General Public License (version 3 or later)
Website: GCC homepage


General info

On most Systems the GNU compilers are available per default in form of the system compiler. To find out the default version execute

gcc --version


On most platforms you will find additional versions beside the one provided by the base system. You can switch to an additional version with the module command

module load gcc


Warning: Do not use the -march=native, -mcpu=native or -mtune=native options as the frontend nodes are a different architecture than the compute nodes and you will lose performance!


See also

External links