Aspects


vs


G++

G++ is the C++ frontend to the GNU Compiler Collection (gcc).

Gcc

GCC is the GNU Compiler Collection

Better

Quality Example
Better

"So using g++ is better than gcc"

from question "Error: unknown type name ‘bool’"

"G++ seems to work better than gcc in my experience"

from question "Code Blocks and SDL output. weird behavior"

Others

Quality Example
Compiler more strict

"G++ compiler is more strict then gcc compiler"

from question "C & c++ default global variable linkage, multiple declaration & definition problem"

Larger

"The g++ version is a little larger than the gcc version but not 100x larger"

from question "How does the size of compiled binaries depend on the used libraries? c/c++"

Looser

"Unfortunately g++ packed the structs significantly looser than gcc which caused significant problems sharing objects between c and c++ code"

from question "Is it possible to subclass a C struct in C++ and use pointers to the struct in C code?"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0