hexor's blog

By hexor, 10 years ago, In English

What is the difference between g++ and c++ command in ubuntu terminal?

  • Vote: I like it
  • +9
  • Vote: I do not like it

»
10 years ago, # |
  Vote: I like it +29 Vote: I do not like it

If you have no other installed c++ compilers, there is no difference: c++ is just a symlink to g++.

»
10 years ago, # |
  Vote: I like it +32 Vote: I do not like it
bash:~$ readlink -f `which c++`
/usr/bin/g++-4.8