Compilers
gcc
Compiling C++ programs
- g++ -o my_app my_app.cpp
Packages
Utilities
- gcc (GNU Compiler Collection; formerly GNU C Compiler)
- gcc-c++: Adds C++ support)
- gcc-g77: Adds Fortran 77 support
- gcc-java: Compiles java into native code; uses gcc-libgcj
- gcc-objc: Adds Objective-C support
- libstdc++: Standard C++ libraries
- glibc: Standard C library & standard math library (Linux requires them)
Identifying the version numbers
- gdb: GNU debugger for C, C++, fortran
- gnat: Ada compiler
Locating the utilities
- "gcc -v"
- "rpm -q glibc"
- "make -v"
- "gdb -v"
Can install the full distribution, or install the core distribution and any specific language components needed.
- "whereis gcc"
- "whereis make"
Full distribution
Core distribution
- C, C++, Objective-C, Fortran, Java [and Ada] compilers
- Runtime libraries for C++, Objective-C, Fortran, and Java
- [GNU compiler testsuites]
Specific language components (tarball)
- C language front end
- Shared components
- Language front end
- [Language runtime libraries]
Resources URL:
notes/linux/resources
Sources URL:
notes/linux/sources