From: Hand Register [mailto:handregister@xxxxxxxxx] ... snip ... >I am trying to build a compiler on Windows 8.1 and Windows 10 for few days now. ... snip ... gcc needs some substantial patching to to build on Windows. The details depend on whether you are building a 64-bit or a 32-bit gcc. There are two projects on Sourceforge which deal with gcc on Windows: MinGW (32-bit) and MinGW-w64 (64-bit) The mailing lists for those projects are the best places to go to for information about building on Windows for a Windows target.