The Amsterdam Compiler Kit (#ack) makes it very easy to setup (C, Fortran, Basic, Pascal) cross compilers for #cpm and #msdos (both real and protected mode) targets. I did work on a little library with it to make it a bit easier to do pure c98 development and used this project to standardize future ack practices. I may see if I can do a useful subset of it with #sdcpp .