Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-16 Thread Kacvinsky, Tom
The back story is I need to build the new MinGW-w64 6.0.0 CRT with UCRT support, then build GCC so that the support libraries (libgnat in particular) use this new UCRT. So far, what I have been trying to do is build GCC from scratch without support for the new CRT, and that is where I am fallin

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-16 Thread David Grayson
Oh yeah, another thing I was going to say is that `--prefix=/usr/local` looks very suspect to me. That directory is where all of the msys2 software lives. I assume you're trying to build a MinGW compiler, which itself is a MinGW (native Windows) program. --David On Tue, Apr 16, 2019 at 9:51 AM

Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-16 Thread David Grayson
That script specifies pkgver=8.3.0, so it builds GCC 8.3.0. The script is meant to be run in MSYS2, not Cygwin. You could try following these instructions to build the GCC package with makepkg-mingw and see if it works: https://github.com/msys2/msys2/wiki/Creating-Packages --David On Tue, Apr

[Mingw-w64-public] PKGBUILD script for toolchain, still having GCC compile errors

2019-04-16 Thread Kacvinsky, Tom
I am looking at this script https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/PKGBUILD It doesn't say which version of gcc this is for as far as I can tell, so perhaps it is generic. What I have found is that some of the patches don't seem to apply to GCC 8.3.0, at least

Re: [Mingw-w64-public] [PATCHv2] crt: x86: Make acosh(infinity) return infinity as it should

2019-04-16 Thread Liu Hao
在 2019/4/16 下午6:35, Martin Storsjö 写道: > Don't raise a domain error in this case. > > This makes the function behave as all documentation specifies it should. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/math/x86/acosh.def.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >

[Mingw-w64-public] [PATCHv2] crt: x86: Make acosh(infinity) return infinity as it should

2019-04-16 Thread Martin Storsjö
Don't raise a domain error in this case. This makes the function behave as all documentation specifies it should. Signed-off-by: Martin Storsjö --- mingw-w64-crt/math/x86/acosh.def.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mingw-w64-crt/math/x86/acosh.def.h b/ming

Re: [Mingw-w64-public] [PATCH] crt: x86: Make acosh(infinity) return infinity as it should

2019-04-16 Thread Liu Hao
在 2019/4/16 14:23, Martin Storsjö 写道: > This makes the function behave as all documentation specifies it should. > > Signed-off-by: Martin Storsjö > --- > mingw-w64-crt/math/x86/acosh.def.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mingw-w64-crt/math/x86/acosh.def