So... Msys2 CRT is a wrapper around POSIX API. Bash uses said POSIX API, 
mingw-w64 is more geared towards windows API, so to compile it with mingw-w64, 
you'd have to do some heavy patching to bash to support the windows API.




---- On Sun, 08 Dec 2019 02:24:01 -0800 [email protected] wrote ----


>
> 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`.
>

I was able to compile bash 5.0 with msys2 gcc. Does this mean that gcc has
not been completely ported to mingw-w64 gcc.

I would like to help so that mingw-w64 also is able to compile bash.

Please let me know how can I help in this.

Regards,
Amit

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to