On 31.03.2025 14:01, Jan Beulich wrote: > Passing the -dumpversion option to gcc may only print the major version > (for 4.x.y it printed major and minor, which in nowaday's scheme is then > indeed just 5 for 5.x).
I meanwhile notice that my self-built compilers print 3 digits, so there really is a point to doc saying "Depending on how the compiler has been configured it can be just a single number (major version), two numbers separated by a dot (major and minor version) or three numbers separated by dots (major, minor and patchlevel version)." I've locally changed the above to (my system 4.x.y printed major and minor, which in nowaday's scheme is then indeed just 5 for 5.x, which in turn is what my secondary system compiler does) Jan