Compiling ZDoom on non 8086 platforms

Sat Apr 24, 2021 6:58 pm

I'm trying to build ZDoom 2.8.1 on Alpha AXP using Debian Lenny. This is an old system (AlphaServer 5305) with a cat's chance in Hell of getting hold of a decent OpenGL graphics card with drivers for it, so it has to be ZDoom and not GZDoom. It fails trying to assemble some 8086 code for sc_man_scanner.h, but I thought the need for assembler had been eradicated years ago; surely ZDoom isn't 8086 only?

Re: Compiling ZDoom on non 8086 platforms

Sat Apr 24, 2021 7:27 pm

Obviously it isn't, there's a PowerPC build. ;)

That said, the CMake project basically assumes x86 or PowerPC, so you'll probably need to comb through src/CMakeLists.txt (and maybe a little of the root CMakeLists.txt). Make sure all the stuff about SSE and ASM is off. May even be as simple as turning NO_ASM on.

Re: Compiling ZDoom on non 8086 platforms

Sun Apr 25, 2021 4:35 am

Thanks, that fixed it. Apologies for being such a n00b, I have zero experience with CMake other than compiling other people's projects.

Re: Compiling ZDoom on non 8086 platforms

Sun Apr 25, 2021 5:43 am

You know i love to see ports running on completely different platforms than you would expect, as opposed to seeing vanilla Doom on every platform imaginable. So this fits the bill.

Other things might be LxDoom on the Corel Netwinder and LsdlDoom on the PlayStation 2. Being Boom based with MBF extensions, its something else than Vanilla being ported over.