On Tue, 13 Sept 2022 at 14:43, Jerome Yanga via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > Hello. I attempted to compile gcc but it failed with an error that is > unknown to me. > > Help. > > "checking whether the C compiler works... no > > configure: error: in > `/data/rock3/wine/builds/gcc-12.2.0/x86_64-pc-linux-gnu/libgomp': > > configure: error: C compiler cannot create executables > > See `config.log' for more details Did you do this? The error was in a sub-directory, so you want to check /data/rock3/wine/builds/gcc-12.2.0/x86_64-pc-linux-gnu/libgomp/config.log There will be lots of errors in that file, because the configure script tries lots of things that aren't all expected to work. You need to look for the problem that occurs just before it logs the "cannot create executables" message.