Sponsored Content
Full Discussion: update executable file
Top Forums Programming update executable file Post 8964 by anent on Friday 19th of October 2001 03:40:52 PM
Old 10-19-2001
Thanks rwb & MacMonster,
I want to clear out a little bit.
I have my executable file ready. and if i make changes in the source code and again if i compile the code. it takes the same time for compiling.

what i need is : the already available executable should be updated without overwriting with the executable created with the same name.

ie.,
gcc test.c -o myprog
o/p : myprog - executable file
if i run it again, - after small modification
gcc test.c -o myprog
o/p : myprog - exe file - but same compiling time.
but the modification made to the source is a little bit.

Idea:
Case 1; If i create some modules of C source codes.and if i modify the code to any one of the module.
How can i reduce my runtime of the exe file creation.
Case 2; If it is a single module.. then.

any inputs are appreciated.
Anent
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Newbie question about difference between executable file and ordinary file

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

file with executable permission

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

creating executable for every C file

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

Executable file

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

Running an executable file

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

How can i read a non text file in unix - ELF-64 executable object file - IA64

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

executable file

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

Executable file in C

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

unix executable file

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

Making file executable

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
elksemu(1)						      General Commands Manual							elksemu(1)

NAME
elksemu - Embedded Linux Kernel Subset emulator SYNOPSIS
/lib/elksemu program [arguments] DESCRIPTION
Elksemu is a program that allows 8086 ELKS programs to be run under Linux-i386. These programs can be compiled using the bcc(1) C compiler. It is not usual to invoke /lib/elksemu directly, either the simple patch or kernel module distributed with it will cause the kernel to run /lib/elksemu with the correct arguments whenever the user tries to execute an ELKS executable directly. OPTIONS
There are no flag options to elksemu, the first argument is the name of the program to run the rest are arguments that are passed to the Elks program. The elksemu program is normally installed suid-root and in this event it is able to run execute only (chmod 111) elks executables and act correctly on the suid permission bits on those executable. This may be considered a security hazard so elksemu does not have to be installed suid-root. SEE ALSO
bcc(1), as86(1), ld86(1) BUGS
Elksemu is incomplete. The program may still have security bugs! Jan, 1997 elksemu(1)
All times are GMT -4. The time now is 09:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy