answersLogoWhite

0


Best Answer

Turbo C cannot compile native Linux binaries, only programs for MS-DOS. MS-DOS applications can be run on Linux through a variety of methods, including DOSEMU, DOSBox, QEMU, Bochs, and VirtualBox.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you run programs compiled with Turbo C on Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Can a C or CPP program compiled on Linux run on Windows and vice versa assuming that both the OSs are loaded in and can run on the same machine?

No. Windows and Linux have different APIs and ABIs for programs to access. You cannot run Linux binaries on Windows, and you can only run Windows binaries on Linux if you have Wine installed.


Do compiled programs usually run faster because they are already in machine code?

No it is because compiled programs are scared so they run like stink. Plus, uncompiled programs, ie. source programs, do not run at all... neither slowly nor fast.


Is there any software for running a c plus plus codes in Linux obuntu?

C++ source code cannot be run, it must be compiled and linked to produce an executable. Linux has many compilers available, with gcc being one of the most popular.


Why is java virtual machine required?

That's because that's the way Java is designed. Java programs are compiled to be run on a special program that interprets it - the Java Virtual Machine. The reason it is designed this way is because it allows Java programs to run on just about any computer - despite the fact that different computers have different sets of machine instructions. It is well possible to write programs that run without requiring support of specific programs - but such programs will only run on specific computers.


How can you compile or run the JavaScript programming?

JavaScript programs cannot be compiled, but it is easy to run them if you embed them into a HTML file, and open it in your browser. Note: If you want a example, select menu-command View/Source and search for '<script'

Related questions

How do you compile and run the shell programs through vi-editor in Linux?

You don't Shell files/programs are not compiled. If you want to run a process through 'vi' then use the ':!' 'ex' command to shell out and execute it.


Can you run windows Linux programs on a mac?

Both Windows and Linux can be installed on an Intel Mac, so yes. If you were referring to binary compatibility with Mac OS X, Windows programs can be run using third-party programs like Wine or CrossOver Mac. Programs compiled on Linux are not binary-compatible, but most programs that are open-source and not specific to functionality in Linux can be and have been ported to Mac OS X. Most of these are available via Fink.


Can a C or CPP program compiled on Linux run on Windows and vice versa assuming that both the OSs are loaded in and can run on the same machine?

No. Windows and Linux have different APIs and ABIs for programs to access. You cannot run Linux binaries on Windows, and you can only run Windows binaries on Linux if you have Wine installed.


Do compiled programs usually run faster because they are already in machine code?

No it is because compiled programs are scared so they run like stink. Plus, uncompiled programs, ie. source programs, do not run at all... neither slowly nor fast.


Where would one find instructions on how to run e2sck on Linux?

One can find instructions on how to run e2sck Linux by checking the Linux website directly. There are clear instructions on how to run all Linux programs.


What are some programs that can run on a Linux server?

"Linux can run programs ranging from Apache HTTP to SSH, GIMP Office, Mozilla Firefox, and a wide range of other Windows, Unix and other types of programs."


Linux is platform independent or not?

Linux is an operating system, which means that it is typically considered to be the platform on which other programs run.


How do you use pokesav on Linux?

You can run Pokesav on Ubuntu with WINE. WINE will also allow you to run other Windows programs on a Linux computer.http://www.winehq.org/


Do Mac games run on Linux?

Yes. Many Linux distributions were created that target PowerPC Macs (Yellow Dog Linux especially; Ubuntu, Debian, and Fedora also have ports). Any modern distro for PCs can also be used on an Intel Mac. Debian has / had a version for 68k Macs as well, but this is no longer well-maintained, and many programs lag behind the other ports in their versions. Software such as Virtual Box allow you to create a virtual Linux computer on your Mac. (See links below)


What are drawbackes Linux os?

The primary drawback to Linux would be software incompatibility. Many programs that run on Windows or Macs do not have Linux versions and therefore cannot be used in Linux (ex. games). However, there are typically programs of similar function available in Linux. Furthermore, some programs can run through a Windows compatibility layer called WINE. Not all programs are so fortunate though and dual-booting may be the only option


Do you need to use an antivirus on Linux?

No. There have been no wild Linux viruses in several years. There's no avenue for them to get onto a Linux system; most distros use secure repositories where only software compiled from source is available. No Linux email client launches attachments automatically, so you can't "accidentally" run a bad program, and programs run under a non-root account don't have the ability to modify other programs on the system.Antiviruses are useful on Linux in some situations and are available. If you regularly download files and share them with Windows users, an antivirus can help you to protect them. They do not do you any good personally, though.


Will Visual Basic programs work in Linux?

Windows programs, including those written in Visual Basic, do not run natively on Linux. Most Visual Basic programs should be usable if Wine is installed.