4 ms·
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/v
by 3036e4 1y ago
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 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.
- pjmlp 1y agoAs the header files state 1988 as last year, this would be around Microsoft C 5.0 or C 6.0 probably.
- 3036e4 1y agoIt'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.
- pjmlp 1y agoThanks 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. :)