Shockingly the only issue was the ai left the integers as signed, so it was a simple fix.
The larger issue was DooM used a synthetic 64bit integer to achieve it's fixed point math. Not every platform has a 'long long' or a int64, so I used AI to get around it.
Straight from 1988! It'll even compile DooM! I'll have to tweek the other test stuff, and I also added my C port of Tradewars. Other stuff in the works, as always.
So it's the same filename to download, as I just replaced the other one. And a new git repository for GCC 1.27.
Now that I know it's basically 4.3 BSD a.out / i386 I geuss I can try much later versions of GCC.
Updated the binary package to reflect the current source modifications. This also includes a newer version of DooM, Catacomb 3-D, and the C pre-processors for both versions of GCC have been updated to parse comments C++ style, removing one of the headaches for newer coding styles.
So, what we have here is a Win32 hosted cross compiler for the old DJGPP v1 environment. I've patched up the tools as best I could and have been able to build and run various small things, with the bigger test being DooM!
Please note that this is using the go32 extender, NOT the more modern v2/DPMI COFF based environment. DJGPP v1 is a.out based, much like the first Linux, EMX OS/2 and others of the era.... read more