I am seeing this while building bintutils 2.33.1 with gcc 9.2.0 that comes with the wingw-w64-i686-toolchain supplied compilers:
../../../libiberty/pex-unix.c:395:20: error: 'FD_CLOEXEC' undeclared (first use in this function) 395 | if ((flags & FD_CLOEXEC) == 0 && fcntl (old_fd, F_SETFD, FD_CLOEXEC) < 0) | ^~~~~~~~~~ This is even before I generate the mingw-64-headers. I am going to try downgrading binutils, but I don't think that Is an issue as I was able to build it with the x86_64 tool chain. Could be the GCC tool chain I used for the x86_64 tool chain, which I think was GCC 9.1. Any ideas _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public