Re: [Mingw-w64-public] Some errors when compiling bash 5.0 on windows 10 using mingw-w64 and MSYS2.

2019-12-07 Thread 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 su

[Mingw-w64-public] [PATCH 4/5] crt: arm: Make nearbyint* just call rint*, with backup/restore of float environment flags

2019-12-07 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/math/arm/nearbyint.S | 17 + mingw-w64-crt/math/arm/nearbyintf.S | 17 + mingw-w64-crt/math/arm/nearbyintl.S | 17 + 3 files changed, 15 insertions(+), 36 deletions(-) diff --git a/mingw-w64-crt/math

[Mingw-w64-public] [PATCH 3/5] crt: arm: Use a bit twiddling implementation of rint*

2019-12-07 Thread Martin Storsjö
Split the implementation file per architecture, and use a BSD/Sun implementation of rint/rintf for arm, as the previous arm implementation used signed 32 bit integer intermediates. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 10 +++- mingw-w64-crt/math/arm/s_rint.c

[Mingw-w64-public] [PATCH 1/5] crt: softmath: Split out the basic type and macro definitions out of softmath/bsd_private*.h to bsd_private_base.h

2019-12-07 Thread Martin Storsjö
Signed-off-by: Martin Storsjö --- mingw-w64-crt/math/bsd_private_base.h | 101 + mingw-w64-crt/math/softmath/bsd_private.h | 72 +-- mingw-w64-crt/math/softmath/bsd_privatef.h | 23 + 3 files changed, 103 insertions(+), 93 deletions(-) create mode 1006

[Mingw-w64-public] [PATCH 5/5] crt: arm: Use bit twiddling implementations of remquo*

2019-12-07 Thread Martin Storsjö
This avoids issues when the quotient exceeds the range for integer variables. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 8 +- mingw-w64-crt/math/arm-common/remquo.c| 35 - mingw-w64-crt/math/arm-common/remquof.c | 35 - mingw-w64-crt/math/arm

[Mingw-w64-public] [PATCH 2/5] crt: arm: Replace the assembly implementations of trunc* by a bit twiddling implementation

2019-12-07 Thread Martin Storsjö
The previous assembly implementation did the truncation by converting to a 32 bit integer inbetween, which significantly limited the usable range of the function, both for larger floats, and in particular for doubles. Signed-off-by: Martin Storsjö --- mingw-w64-crt/Makefile.am | 4 +- m

[Mingw-w64-public] [PATCH] crt/websocket: move websocket to lib-common

2019-12-07 Thread Biswapriyo Nath
... From 77cc80239fd4b494c7c7064751b174acfcea21b4 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sat, 7 Dec 2019 08:00:00 +0530 Subject: [PATCH] crt/websocket: move websocket to lib-common Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/mincore.mri | 2 +- .../{l

Re: [Mingw-w64-public] Some errors when compiling bash 5.0 on windows 10 using mingw-w64 and MSYS2.

2019-12-07 Thread Biswapriyo Nath
In msys2, it may not possible to build bash directly cloned from upstream repository. msys2 adds some patch upon upstream repository. You can find the msys2 bash here[1]. I have asked msys2 developers to add bash 5.0 in gitter discussion[2]. [1]: https://github.com/msys2/MSYS2-packages/tree/maste

[Mingw-w64-public] Some errors when compiling bash 5.0 on windows 10 using mingw-w64 and MSYS2.

2019-12-07 Thread 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 err

Re: [Mingw-w64-public] New, mixed case Hyper-V header files

2019-12-07 Thread Liu Hao
在 2019/12/7 13:35, Biswapriyo Nath 写道: > Attached updated patch file. > > > Sorry for the inconvenience. I pushed this patch. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw