On 06.04.2022 15:09, Fiodar Stryzhniou wrote:
I encounter error while building gcc-12.1.0. There two file missed
probably in path gcc-12.1.0/gcc: version.c and version.h.
There maybe more missed files. I don't know how check.
gcc-11.2.0 has these files. Older versions too.
What steps are you using to build gcc, and what error, specifically, are
you getting?
The gcc/version.c and gcc/version.h files aren't missing from the source
distribution, they were intentionally removed:
<https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e3a682f4197f9f39808febfd1862e722d7675d34>
-Matthew