GCC (Compiler)

GCC is a compiler system produced by the GNU Project under General Public License, supports various programming languages (C, C++, Object C, FORTRAN, etc.)

GCC is a program language compiler developed by GNU.

Not as good as of an infrastructure as LLVM. It is really just a C compiler.

Linux defaults to using gcc.

gcc vs. g++?

Flags to use:

  • -std=c++17
  • -03 for optimization
g++ -std=c++14 a1q1.cc 2DMotion.cc