TK Chia has posted a new release of the GCC IA-16 toolchain build scripts, with DJGPP packages for FreeDOS. From the notes: "This is a DJGPP/MS-DOS-hosted (32-bit x86) port of the GNU C and C++ compiler toolchain to the IA-16 target (16-bit Intel x86), by Rask Ingemann Lambertsen, Andrew Jenner, myself, and various contributors. The toolchain itself is 32-bit, but it will output 16-bit code." Changes in this version include: - The C runtime library (Newlib) now defines a _heaplen variable similar to Borland's Turbo C. You can use it to control the maximum size of the malloc memory heap. - Writing programs that do not use the standard C library or startup files is now more convenient. - GCC now has an (experimental) -mmsdos-handle-v1 option, to output .exe files that will fail gracefully (rather than crash) when run on MS-DOS v1.x. - minor fixes and optimizations. Get it at Github, tag 20190224.