Chris,
could you show us the output of
g++ -v
please?

cheers,
Piotr