Writing Windows 95 software in 2025 (tlxdev.hashnode.dev)
from cm0002@lemdro.id to programming@programming.dev on 02 Jan 2026 22:07
https://lemdro.id/post/34216474

#programming

threaded - newest

refalo@programming.dev on 03 Jan 2026 00:15 next collapse

You don’t need open-watcom to compile 9x applications from other OSes… both gcc and clang, as well as wine, have multiple options for cross-compilation, no VM or docker needed.

I routinely use all 3 methods for compiling my own 95/98 applications from Linux.

For gcc I use the mingw toolchain, which is available as the mingw-w64 package on Debian-based systems, or mxe.cc.

For clang I use clang-cl with the VC6 SDK. clang-cl pretends to be the Microsoft cl.exe compiler and actually works quite well if you know the right options to give it.

And finally, using wine you can either run the original MSVC toolchain compilers, or versions of gcc that were compiled to run on Windows directly; there are both old and new gcc versions that can produce Win9x binaries if you know where to look.

Some resources that have helped me over the years as well:

…wordpress.com/…/compiling-programs-for-windows-9…

web.archive.org/…/coding-windows-cpp-on-linux-2/

github.com/fsb4000/gcc-for-Windows98

MonkderVierte@lemmy.zip on 03 Jan 2026 12:02 collapse

This site uses Cloudflare, feels laggy on mobile and somehow skips from Firefox’ reader mode. I don’t recommend.

refalo@programming.dev on 03 Jan 2026 16:38 collapse

I could not even view it on firefox as I got endless captcha loops.