80286

COM executables with Open Watcom

会有一股神秘感。 提交于 2020-08-07 09:43:35
问题 I'm trying to make a small utility for an old i286 machine running PC-DOS and the target format a plain COM executable. The compiler choice has been Open Watcom and, on the documentation it says it can link DOS .COM files but documentation is either ambiguous or doesn't work as the examples show, so I end up with either a .EXE file (with MZ header) or multiple linker/compiler errors. So, How can I make a .COM executable with Open Watcom compiler? 回答1: The system com option is probably invalid

COM executables with Open Watcom

▼魔方 西西 提交于 2020-08-07 09:43:04
问题 I'm trying to make a small utility for an old i286 machine running PC-DOS and the target format a plain COM executable. The compiler choice has been Open Watcom and, on the documentation it says it can link DOS .COM files but documentation is either ambiguous or doesn't work as the examples show, so I end up with either a .EXE file (with MZ header) or multiple linker/compiler errors. So, How can I make a .COM executable with Open Watcom compiler? 回答1: The system com option is probably invalid