试试看 OpenWatCom吧
http://www.openwatcom.org/index.php/Open_Watcom_FAQ
The Open Watcom compiler has a number of advantages over other free compilers, such as full support for 16-bit DOS, Windows, and embedded x86 development, powerful commercial level debugger with full remote debugging capabilities (serial, parallel, NetBIOS, TCP/IP etc). The Open Watcom C/C++ compiler is also the only freely available compiler for 16-bit Windows and OS/2 device driver development. Finally, Open Watcom is a comprehensive package, easy to install and use, with full range of tools and documentation
这个依赖于编译器的,与C++无关。