Would probably need to do a cross build using the msys2 mingw64
compilers in /opt else you would have gained nothing since every
dependency compiled with msys2 gcc would rely on the msys2.dll.

Den 08-12-2019 kl. 07:53 skrev Liu Hao:
> 在 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`.
>
>
>
>
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to