https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170
--- Comment #14 from cqwrteur <unlvsur at live dot com> --- (In reply to Andrew Pinski from comment #13) > (In reply to Martin Liška from comment #12) > > > So it does not matter not for adding locks for windows hosts? No need for > > > using CriticalSection APIs as locks? > > > > Well, we need the critical section for the multi-threaded linker mold for > > that we define a new API. And the linker does not work on Windows, so we > > won't need it. > > Even as cross to an elf target? I actually do this. Cross compile x86_64-linux-gnu or aarch64-linux-gnu programs on windows.
