can we run 'C' executable files in computers that dont have 'c' compilers?
debjyoti
2012-06-01 05:59:59 UTC
I want to run 'C' executables in other computers without compilers!!! is it possible??????
Nine answers:
?
2012-06-01 14:02:57 UTC
The compiler translates a human readable program into a form that the target computer and its operating system can understand. Once the translation has been completed, the resulting executable file will run on a machine that is the same target architecture and operating system without needing the compiler again. It does not matter whether the human readable program is written in C, fortran, pascal, or any of a vast number of other languages. Whenever you buy software and install it on your PC, you are buying the executable, but you don't get the compiler or the human readable source files.
There are two types of compilers - native compilers and cross compilers. For example, there will be Windows compilers that are used to create programs to run on Windows computers. Similarly, there will be MAC compilers to create programs to be run on MAC computers. These are native compilers.
However, it is possible to have a compiler that runs on a Windows computer to produce MAC executable code. Similarly, a MAC computer could have a compiler that produces executable code to run on a Windows computer. These are cross compilers. Cross compilers are often created to develop programs for new types of computer or to run on a new operating system. This allows new operating systems to be developed and compiled before that new operating system is capable of running its own native mode compilers.
?
2012-06-02 00:30:54 UTC
It all depends on many things.
For example, if you compile a C program using Turbo C and resultant EXE file can be executed another machine of windows (not 7) even if turbo C is not available. Turbo C uses static linking thus exe files are self complete. So, they run on other windows/dos machines. But not under Linux.
Some compiler created dynamically linked executables, so they will run same type of machines only if DLL is also available.
?
2016-07-13 15:02:13 UTC
I majored in lit in college. I would say for this poem, you need some historical past on the poet. It begins out kinda unhappy, with the view. 'Futures I've divorced' most like refers to deserted hopes and desires. The 'don't seem back' and knife reference is in most cases about getting over painful memories. That it not cuts implies hope. Or probably numbness. The stuff on complacency normally way he feels he let any person down via no longer doing whatever he should have done. As a result the accusatory voices. The final paragraph is a little more problematic. My feel is that the narrator realized his lifestyles lessons and acted as a result, therefore the great blessings. This man sounds like a soldier to me. One that believes that not taking action at some valuable second brought about others damage. Now he's grew to become that perspective around, and found some peace. He gave up ancient and futile attempts and took an extra strategy to life, and he's commencing to search out his existence extra beneficial. I don't probably like poems, but my dad and mom spents hundreds of thousands that they did not have so I would be taught to interpret then. I'm more about novels, although. Once more, you'll frequently benefit from realizing something of this writer's lifestyles. This one is pretty individual, beyond the overall feel of the wonder and cruelty of the world I frequently see in lesser poems.
Aditya
2012-06-01 06:03:19 UTC
No, you specifically need a C compiler in the linux environment to run executables because you have to compile the c code first. That requires a c compiler.
2012-06-01 06:39:47 UTC
Yes, as long as the operating system and processor on which the code was compiled are identical to those on the computer on which you wish to run the executable.
2012-06-01 06:11:46 UTC
Yes. A compiler translates C source code into a binary format that your operating system (or some other program) can load and run. You only need a compiler for that translation process.
K-SiS
2012-06-01 09:39:59 UTC
Running a program doesnot need a Compiler.
You need compiled Executable on that Hardware / OS
For example exe compiled for dos / windows for intel x86 archi will run on any such machine without any compiler or source code.
exe compiled for linux will run on Linux exen though hardware may be same ( X 86 )
exe compiled for MAC will run for MAC with need for compiler or Source code.
for each platform you will need different compiler for that specific platform anf OS
This will generate platform specific unmanaged code.
NOwhere running a compiled exe require a compiler or source code.
2012-06-01 06:01:43 UTC
They(*.exe) will run on Windows system without any problem...!
Michael
2012-06-01 06:00:35 UTC
dunno
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.