team-eternity / eternity

The Eternity Engine
http://eternity.youfailit.net/wiki/Main_Page
GNU General Public License v3.0
229 stars 36 forks source link

Add Dev-Cpp/MinGW flags #147

Open sneakernets opened 7 years ago

sneakernets commented 7 years ago

I've meant to do this for years but I finally getting around to it. I need a list of the flags to compile EE properly. If we can figure those out again, I can resume MinGW32 builds.

Altazimuth commented 5 years ago

Given MinGW32 is dead as hell I guess this would now be MinGW-w64? Dev-Cpp hasn't been updated in a bit, but would that matter? Does it still work? Is it possible to have it use more current versions of GCC/Clang?

sneakernets commented 5 years ago

Well, I'm not sure. I'm gonna look into it, but since Win9x support is dead now due to SDL2, I don't know if it even matters anymore.

Altazimuth commented 5 years ago

Win9x might be dead but Windows XP is the new that, given that VS 2019 is going to murder support for compiling to it. Of course we're stuck on VS2015 for the moment due to EE's dev builds being on them. Even without that issue we're stuck on older C++ standards (unless I want to force you to download a tarball containing a binary of a more current GCC or Clang version for ARM, which feels like a jerk move).

Compiling EE with MinGW-w64 via MSYS2 is a breeze, just make sure not to have asciidoc installed or else everything blows up. The downside is this has no midiproc support, which could be remedied by adopting Chocolate Doom's midiproc and adding it to the CMake build system.

sneakernets commented 5 years ago

Oh, ouch, I had no idea VS2019 was nuking XP support. I'll look into it.