You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using mingw-w64 toolchains firebird cannot be builded. There are a lot of issues:
1. Mingw-w64 has winpthreads library and Firebird can be builded with posix threads.
Need to check
#if defined(WIN_NT) && !defined(USE_POSIX_THREADS)
where thread code present because for mingw-w64 USE_POSIX_THREADS defined
2. Fix arguments for printf functions to handle "long long int" because mingw-w64 has both 32 and 64 bit toolchains.
3. Remove "-mno-cygwin" flag because it wrong now.
3. Define -march=x86-64 for 64-bit builds in prefix.mingw
This is first look to port to mingw-w64.
Regards,
Alexey.
The text was updated successfully, but these errors were encountered:
We had a mingw support about 10 years ago and it was intentionaly dropped as unmaintainable. It was just too much effort for a couple of users who then migrated to MS tools anyway. So the major question is why do we need it at all?
Why not to support mingw? This is open source project and why it only use commercial tools for build it (MSVC)? Most software has support mingw include MariaDB, PostgreSQL, Blender, GIMP and many other big projects. I think many users use Firebird (I use it about 7 years). I usually use it with Qt framework that I build with all dependencies from source. It will be good to have Firebird working too. I'm developer of MSYS2 project (https://sourceforge.net/projects/msys2/?source=navbar) and provide about 200 open source programs via package manager for windows.
Submitted by: Alexey Pavlov (alexx83)
Votes: 1
Using mingw-w64 toolchains firebird cannot be builded. There are a lot of issues:
1. Mingw-w64 has winpthreads library and Firebird can be builded with posix threads.
Need to check
#if defined(WIN_NT) && !defined(USE_POSIX_THREADS)
where thread code present because for mingw-w64 USE_POSIX_THREADS defined
2. Fix arguments for printf functions to handle "long long int" because mingw-w64 has both 32 and 64 bit toolchains.
3. Remove "-mno-cygwin" flag because it wrong now.
3. Define -march=x86-64 for 64-bit builds in prefix.mingw
This is first look to port to mingw-w64.
Regards,
Alexey.
The text was updated successfully, but these errors were encountered: