Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Microsoft included almost a full 1988 toolchain (masm, C, make, etc) in their MIT licensed MSDOS repo last year: https://github.com/microsoft/MS-DOS/tree/main/v4.0/src/TOOLS

There is no source code, but at least the license makes it free to use and redistribute. The C compiler seems very close to supporting ANSI C89.



As the header files state 1988 as last year, this would be around Microsoft C 5.0 or C 6.0 probably.


It's MSC 5.10, MASM 5.10, LINK 3.65, NMAKE 1.00.05, and some other stuff.

Comes down to around 2 MB after cleaning up a bit. 1.4 MB if only keeping support for one memory model. Runs fine in DOSBox, so this is an easy way to make a project self-contained, building from within the target platform with no external dependencies.


Thanks for the overview.

I did not had an environment to try it out, great that I didn't land that far off just from my memories. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: