GCC 11.1.0 for Windows 98

Any discussion of software that doesn't fit into any category goes here.
Post Reply
User avatar
PortalPlayer
Posts: 9
Joined: Sat Jul 29, 2023 12:09 am

GCC 11.1.0 for Windows 98

Post by PortalPlayer »

I'd like to preface this by saying pretty much none of this work is mine. It's just a project a noticed, and felt this community would be interested in.

It's pretty much just GCC 11.1.0, but you can run it in Windows 98. The executables it creates also runs in Windows 98.
This allows you to compile programs using a newer C/C++ standard down to Windows 98!

Here's the link if anyone is interested: https://github.com/fsb4000/gcc-for-Windows98

It's a Windows binary. Just use it like any other version of GCC, and should get a working executable.

It works weirdly under Wine. It works like normal, but its laggy, and build tools like ninja/make will constantly recompile every file.

If you're feeling experimental (or you're just sick of the slowness), then you can try the attached files.
Its the basic GCC pack (binutils + mingw-w64 + gcc), but compiled as a Linux binary. Its faster, and works better than the Wine version, but it's very janky. You need to pass the library and include paths for some reason, so I created helper shell scripts for that. I can't seem to get the full GCC suite to compile, and I'm losing my patience compiling GCC. Cross-compiling GCC sucks ANGERY

Other than that, it should still output a valid, Windows 98 supported, executable file

(Note, the decompressed directory is around 1.2GB large, my guess is because of the debug symbols, attempting to strip the binaries makes the test hello world code do nothing)
The archive sadly had to be split (I tried my best compressing it). Just run the following code to "unsplit" them:

Code: Select all

cat 1-GCCW98.tar.gz 2-GCCW98.tar.gz 3-GCCW98.tar.gz 4-GCCW98.tar.gz 5-GCCW98.tar.gz 6-GCCW98.tar.gz 7-GCCW98.tar.gz 8-GCCW98.tar.gz 9-GCCW98.tar.gz 10-GCCW98.tar.gz > GCCW98.tar.gz
Attachments
1-GCCW98.tar.gz
(50 MiB) Downloaded 168 times
2-GCCW98.tar.gz
(50 MiB) Downloaded 185 times
3-GCCW98.tar.gz
(50 MiB) Downloaded 213 times
4-GCCW98.tar.gz
(50 MiB) Downloaded 196 times
5-GCCW98.tar.gz
(50 MiB) Downloaded 192 times
6-GCCW98.tar.gz
(50 MiB) Downloaded 231 times
7-GCCW98.tar.gz
(50 MiB) Downloaded 208 times
8-GCCW98.tar.gz
(50 MiB) Downloaded 232 times
9-GCCW98.tar.gz
(50 MiB) Downloaded 211 times
10-GCCW98.tar.gz
(32.12 MiB) Downloaded 221 times
Post Reply