Instructions on how to run Turbo C using Dosbox on Linux.
To run the Turbo C compiler you will need:
sudo apt install dosboxC drive with a TC directory inside.In the turboc.properties file you can see an example on how to setup the compiler to work with Compiler Explorer.
Make sure the .dosbox path is correct, as well as the .root and .exe. The .root indicates the root of the C drive, and the .exe points to the actual TCC.EXE
Note that Turbo C is C only, so it belongs in your c.local.properties.
Also note that you will immediately get an error with the default example source code, because the compiler doesn't support // comments.
Also note that in this old C version, you must declare all variables in the first few lines of your functions.