try with gcc (and not g++) and search g++..