I can't remember details. I see error about missing version.h in build_gcc/gcc folder. I look at gcc mirror at github and saw these files. I thought that error because these files not present. I remove both src and build dirs and start again. Build successful. -- Sent from Outlook Email App for Android субота, 04 чэрвеня 2022, 11:57PM +03:00 from Matthew R. Wilson mwilson@xxxxxxxxxxxxxx : >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 >