Try to also have a look in these tools: 1. Watcom C/C++ (It features tools for developing and debugging code for DOS, NEC PC-98, OS/2, Windows, and Linux operating systems, which are based upon 16-bit x86, 32-bit IA-32, or 64-bit x86-64 compatible processors. It is a true cross compiler)
https://en.wikipedia.org/wiki/Watcom_C/C%2B%2B
https://en.wikipedia.org/wiki/PC-98`` (a Japanese system)
https://en.wikipedia.org/wiki/Cross_compiler
And how to break the 32-bit code limit in MS-DOS and 640 kB up to 64 MB aka DOS/4G which was made widely popular by computer games like Doom or Tomb Raider.
https://en.wikipedia.org/wiki/DOS/4G
https://en.wikipedia.org/wiki/Doom_(1993_video_game)
https://www.computerworld.com/article/1563853/the-640k-quote-won-t-go-away-but-did-gates-really-say-it.html