Configuration of tc compiler running on dosbox in linux

Source: Internet
Author: User
The configuration of the tc compiler running on the dosbox in linux-general Linux technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by lijiang at, January 28 ,.

It may be because the c language used by beginners at school is the tc compiler. Later, I became accustomed to using the tc compiler to edit and run the c program. I also tried it, that is, I am not willing to switch to visual compilation systems such as vc. Really love tc, mainly because almost no c compiler can occupy less space than tc, only a few M. In addition, it is very convenient to edit and run the code under tc. We also want to use the linux system environment, so we need to use dosbox.
After installation, find the configuration file dosbox-073.conf in the directory where dosbox is located and find the automatic run configuration segment:
[Autoexec]
# Lines in this section will be run at startup.
Mount c/home/lijiang/. wine/dosdevices/c:/TURBOC2
C:
Tc.exe

After reading the above, you will know that running tc in dosbox still has to be installed on the basis of wine. After the above configuration, you can double-click the dosbox icon to directly start the tc environment to edit and run the c code.
In this way, I can edit and run the c program perfectly. The effect is no worse than that in windows!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.