This was the toolchain used to build and ship Quake. Prior to that id, like everyone used Watcom C/C++ with the DOS/4GW extender.
The performance critical parts of quake were written in Pentium micro optimized assembly.
Using DJGPP gave other advantages, the id team developed on Unix/Next boxes. I think they also had some commercial Unix servers for running the expensive level (PVS) compilers. This gave them had a compiler that could target Unixen, DOS and windows. They could ship the compiler if they wanted (though ultimately mods were done through quake C). With source available they were able to and did in fact modify the compiler and DOS extender for their needs as well
https://en.m.wikipedia.org/wiki/CWSDPMI (See CWSDPR0)
Thanks for the reminder of the name. I was trying to think of this a couple of days ago.