-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Description
Currently, x86_64-pc-windows-gnu target build on mingw-w64 v5.x (2 years ago):
`
x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
GNU ld (GNU Binutils) 2.27
gcc version 6.3.0 (x86_64-posix-seh-rev2, Built by MinGW-W64 project)
`
Nowadays, Debian 10 and Msys2 provide mingw-w64 v6.x:
# dpkg -l | grep mingw-w64 ii binutils-mingw-w64-x86-64 2.31.1-11+8.3 amd64 Cross-binutils for Win64 (x64) using MinGW-w64 ii gcc-mingw-w64-base 8.3.0-6+21.2 amd64 GNU Compiler Collection for MinGW-w64 (base package) ii gcc-mingw-w64-x86-64 8.3.0-6+21.2 amd64 GNU C compiler for MinGW-w64 targeting Win64 ii mingw-w64-common 6.0.0-3 all Common files for Mingw-w64 ii mingw-w64-x86-64-dev 6.0.0-3 all Development files for MinGW-w64 targeting Win64
This caused error 'undefined reference to `__onexitend''.