10-18-2001
You cannot overwrite a running executable.
You will trash the running program.
You could compile your C code...
gcc myfile.c
...then...
mv a.out newprog
...then run...
newprog
...then edit and compile your C code...
gcc myfile.c
...a.out will be created without trashing
the running program.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am newbie in unix and just started learning it. I want to know what is the difference between an executable file and a file (say text file). How to create executable file? What is the extension for that? How to differentiate ? How does it get executed?
Thanks (1 Reply)
Discussion started by: Balaji
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
How can we execute a Unix file (shell script), which had given "Execute" permission using
chmod +x file1
If i want to execute that file.
prompt>./file1
Hello
How can i make the file permission or something else. such that i can execute it using
prompt>file1
Hello
Note :... (9 Replies)
Discussion started by: anent
9 Replies
3. UNIX for Dummies Questions & Answers
hello Folks,
once we compile any C code on Linux, we run the code using "./a.out"..
but can we have an executable for every program so that we can run the code directly without compiling the code every time.
just run the executable and get the output!
Thanks! (7 Replies)
Discussion started by: compbug
7 Replies
4. Shell Programming and Scripting
Hi everybody:
I have strange problem. I have compiled a source code and created an executable file. This file I can use it into my PC, but when I copy this executable to my laptop this one doesn't work and the system tell me:
bash: ./sbdart_unix: cannot execute binary file
Somebody can... (3 Replies)
Discussion started by: tonet
3 Replies
5. Programming
I've created a c program and compiled it with gcc, in unix.
The file name is abc.c and it is run by typing the command ./abc
I have another program which creates a child process, and I need this abc program to run on that child process. I've tried execvp(), but it doesn't work.
How can I run... (2 Replies)
Discussion started by: sdsd
2 Replies
6. UNIX for Advanced & Expert Users
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
Discussion started by: alexcol
8 Replies
7. Shell Programming and Scripting
Hi,
I want to know that how can i read the content of a .exe file??
Thanks (1 Reply)
Discussion started by: ss_ss
1 Replies
8. Programming
Hi all,
I have modified a C file and executed it. While executing the executable file for that C file, it shows à is cannot be printed.
I have given isprint(à) to test it. When I copy the old executable file and execute it it shows it can be printed.
Then I retain the C code back and executed it... (1 Reply)
Discussion started by: sivakumar.rj
1 Replies
9. Shell Programming and Scripting
Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer (6 Replies)
Discussion started by: lazybaer
6 Replies
10. UNIX for Dummies Questions & Answers
Hi guys, i'm trying to make a file called 'run-all-tests' executable but it is not letting me for some reason. I am presented with the following error: chmod: cannot access `./run-tests': No such file or directory
Basically i have a folder called ex3 and within that there are task folders:... (11 Replies)
Discussion started by: Shyamz1
11 Replies
LEARN ABOUT DEBIAN
language::intercal::bytecode
INTERCAL::ByteCode(3pm) User Contributed Perl Documentation INTERCAL::ByteCode(3pm)
TITLE
Language::INTERCAL::Bytecode - intermediate language
DESCRIPTION
The CLC-INTERCAL compiler works by producing bytecode from the program source; this bytecode can be interpreted to execute the program
immediately; alternatively, a backend can produce something else from the bytecode, for example C or Perl source code which can then be
compiled to your computer's native object format.
The compiler itself is just some more bytecode. Thus, to produce the compiler you need a compiler compiler, and to produce that you need a
compiler compiler compiler; to produce the latter you would need a compiler compiler compiler compiler, and so on to infinity. To simplify
the programmer's life (eh?), the compiler compiler is able to compile itself, and is therefore identical to the compiler compiler compiler
(etcetera).
The programmer can start the process because a pre-compiled compiler compiler, in the form of bytecode, is provided with the CLC-INTERCAL
distribution; this compiler compiler then is able to compile all other compilers, as well as to rebuild itself if need be.
See the online manual or the HTML documentation included with the distribution for more information about this.
SEE ALSO
A qualified psychiatrist
AUTHOR
Claudio Calvelli - intercal (whirlpool) sdf.lonestar.org (Please include the word INTERLEAVING in the subject when emailing that address,
or the email may be ignored)
perl v5.8.8 2008-03-29 INTERCAL::ByteCode(3pm)