在 2019/12/7 21:44, Amit Choudhary 写道: > Hi, > > I have downloaded mingw-w64 and MSYS2. I downloaded bash-5.0.tar.gz. I > untarred and unzipped it in my user directory in MSYS2. Then I used > MSYS2 MinGW 64-bit shell provided by MSYS2. > > I tried compiling bash. I did "./configure" and it ran successfully. I > then did make, but it gave me some errors/warnings. The > errors/warnings are below > > Please let me know how can these be resolved. I can help / I can port > if something hasn't been ported to mingw-w64. >
I presume it is not possible to build bash using mingw-w64, because Windows is not a recent enough POSIX system. Instead, you must use the MSYS2 GCC to compile bash and link it against the MSYS2 CRT, not the mingw-w64 CRT. The triplet should look like `x86_64-pc-msys`. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
