Zach,

I grabbed https://musl.cc/x86_64-w64-mingw32-native.zip.

Just noticed that decimal-float is disabled. (I need
--enable-decimal-float).

Other than that, it's odd that libgcc_s_seh-1.dll is in the lib folder.
Usually, it's in the bin folder as it's often required at runtime.
I think libquadmath-0.dll has a runtime dependency on it - the attached
'demo.c' program certainly does.
So I copied libgcc_s_seh-1.dll to the bin directory, but then the demo
program crashes at runtime, throwing up an "Application Error" pop-up
that complainins:

"The application was unable to start correctly (0xc0000005)."

IIRC, that usually means that there's an architecture incompatibility.
Did I download the wrong compiler ?  I'm on 64 bit Windows 7, building
demo.exe in the cmd.exe shell.

I built demo.exe by running:
gcc -o demo.exe demo.c -lquadmath

The build works fine - the only problem is the demo.exe runtime crash.

Cheers,
Rob


On Mon, Jun 3, 2019 at 3:34 AM Zach van Rijn <[email protected]> wrote:

> On Thu, 2019-05-30 at 11:10 +1000, sisyphus wrote:
> > Kudos  to you, Zach, for providing those !!
> >
> > FYI:
> > Unfortunately, the absence of quadmath is a blocker for me.
> > Also, I've never used a compiler that has win32 threads. For
> > me, it has always been posix threads. (However, that might not
> > be an issue.)
>
> Quadmath support is now enabled in the MinGW toolchains, and
> will be enabled for Linux toolchains during the next rebuild.
>
>   * https://musl.cc/i686-w64-mingw32-cross.tgz
>   * https://musl.cc/i686-w64-mingw32-native.zip
>   * https://musl.cc/x86_64-w64-mingw32-cross.tgz
>   * https://musl.cc/x86_64-w64-mingw32-native.zip
>
> Other relevant changes:
>
>   * Rebuilt against latest musl (commit ac3042, 2019-05-22)
>   * Rebuilt against latest MinGW-w64 (commit d8f914, 2019-06-02)
>   * Binutils bumped from 2.30 to 2.32 (see [1] below)
>
> I'm having difficulties getting it to build correctly with POSIX
> threading, so once I resolve/test that I'll share an update.
>
> Please let me know if the above works for you.
>
>
> ZV
>
>
> [1] https://www.sourceware.org/ml/binutils/2019-06/msg00003.html

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

Reply via email to