https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170
cqwrteur <unlvsur at live dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |unlvsur at live dot com --- Comment #2 from cqwrteur <unlvsur at live dot com> --- Created attachment 53242 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53242&action=edit This patch just fixed the compilation part for windows. -pthread flag is a huge issue I do not know how to fix that.