> -----Original Message-----
> From: Kacvinsky, Tom <tom.kacvin...@vector.com>
> Sent: Wednesday, April 17, 2019 12:39 PM
> To: mingw-w64-public@lists.sourceforge.net
> Subject: Re: [Mingw-w64-public] PKGBUILD script for toolchain, still having
> GCC compile errors
<snip/>
>
> This is good stuff, thanks for the instructions. One question, though. I
> want
> mingw-w64-crt v6.0.0 support for UCRT> How did I modify the PKGBUILD
> script to get this support? While I am at it, I want winpthreads support and
> perhaps she instead of sjlj exception handling for libgnat.
So I thought I'd change the configure options in PKGBUILD for the CRT to add
--with-default-msvcrt=ucrt
built and installed it. But now when building GCC, I get the following
C:/msys64-redux/mingw64/lib/gcc/x86_64-w64-mingw32/8.3.0/adalib/libgnat.a(argv.o):(.rdata$.refptr.__imp__environ[.refptr.__imp__environ]+0x0):
undefined reference to `__imp__environ'
collect2.exe: error: ld returned 1 exit status
gnatlink: error when calling C:\msys64-redux\mingw64\bin\gcc.exe
gnatmake: *** link failed.
This is not surprising since the GCC I have on the system contains a libgnat
that
uses the older MSVC runtime, which requires the _environ symbol. So I have a
chicken and egg situation here.
Any way around this?
Thanks,
Tom
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public