Add MinGW-w64 support#24
Conversation
- mingw library capitalization - gcc/msvc differences - macro ## token joins - c_str - ui64 vs ll
-> this could be changing behaviour, todo check
I'll take hackiest way to implement this for 200, alex (-> make it future me's problem)
yay i get to write a bug report i think
- added -fpermissive flag - This flag should be removed once I figure out what the expected behaviour is. - removed directories included by default by mingw - added ixwebsocket package - forgot this somehow - special cased, to lowercase the required Crypt32.dll, as linux is case-sensitive.
|
I chose MinGW as it makes it easy to link windows headers, but once it builds I will attempt to migrate to clang as well. |
|
I personally am certainly in favor of dropping MSVC and the VS Build System, as both Clang and CMake are alternatives that are natively supported in Visual Studio ("C++ Clang Tools for Windows" and "C++ CMake for Windows" exist as components one can install easily in the VS Installer) I would love MingGW support, but we would first need to move to CMake and Clang, as the VS Build System gets awkward when trying to integrate that into the XML config file. But in the end it is in the discretion of @BreakingBread0 to veto this ^^ |
also, might I interest you in checking out MinGW-LLVM? It might be nicer to move to that as I already worked a bit on the possible Clang migration ^^ |
|
Oh yeah im definitely in favour of switching from MSVC in the long term. That compiler is.... interesting to say the least and I had to fight it a few times with this small project already hahaha Did you get further with compiling this project with clang/mingw? I can adapt this to @Hazno-dev 's branch |
|
Yo, bumping this. I can try doing something like this if you're interested @BreakingBread0 |
Adds support for building with MinGW-w64.
This is WIP, as linking still fails.
Open TODOs: