wrap gcc --version by catch_error.