Anything for Win9x?
I haven't tried it but i saw this a few days ago: https://github.com/crazii/MINGW-toolchains-w9x
I'm guessing this no longer qualifies as "modern," since the last update was in 2018 and is no longer in active development, but I'd like to say that the 32bit version of the Tiny C Compiler by Fabrice Bellard works on Windows 98 SE.
I found out the other day you can use modern clang-cl with the MSVC6 headers and it just works. you can download them from here https://github.com/itsmattkc/MSVC600 or just copy it from an install if you have one handy.
then run (something like) this:
I don't know if it's any better or worse than MinGW practically but it is definitely cursed.