this is ridiculous. It is nowhere hard to support cross compiler tbh.
Get Outlook for Android<https://aka.ms/AAb9ysg> ________________________________ From: Eli Zaretskii <e...@gnu.org> Sent: Sunday, September 19, 2021 11:26:30 AM To: unlvsur unlvsur <unlv...@live.com> Cc: bug-make@gnu.org <bug-make@gnu.org> Subject: Re: x86_64-w64-mingw32-gcc cross compilation fails > From: unlvsur unlvsur <unlv...@live.com> > Date: Sun, 19 Sep 2021 08:09:39 +0000 > > ../../../make/lib/access.c:23:10: fatal error: io.h: No such file or directory > > 23 | #include <io.h> > > | ^~~~~~ > > compilation terminated. How so? io.h is a standard header in MinGW, how did it happen that you don't have it? > make[3]: *** [Makefile:1157: access.o] Error 1 > > make[3]: *** Waiting for unfinished jobs.... > > In file included from ../../../make/lib/stat-time.c:21: > > ../../../make/lib/stat-time.h: In function 'get_stat_atime_ns': > > ../../../make/lib/stat-time.h:52:43: error: invalid use of undefined type > 'const struct _stati64' This file isn't supposed to be compiled into the MinGW port of GNU Make. I suspect that you use the Posix configure script to build the port. That is not supported. You should use the build_w32.bat batch file (which means you cannot cross-compile, only build it natively on MS-Windows).