[OSC] GCC version,[ which are used

How to check gcc version, which are used in build environment? I can probably check this by editing .spec file, but is there simpler way?

It depends on what you are building for. Building for openSUSE 13.1, 13.2 and TW all will be using different GCC versions.

Have a look at the build log, it shows which packages (in which version) are getting installed in the build environment.

Thanks.

I get this information by chroot-ing to build environment and calling gcc --version.