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
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
condor_compile
condor_compile(1) General Commands Manual condor_compile(1)
Name
condor_compile create - a relinked executable for submission to the Standard Universe
Synopsis
condor_compile cc | CC | gcc | f77 | g++ | ld | make | ...
Description
Use condor_compile to relink a program with the Condor libraries for submission into Condor's Standard Universe. The Condor libraries pro-
vide the program with additional support, such as the capability to checkpoint, which is required in Condor's Standard Universe mode of
operation. condor_compile requires access to the source or object code of the program to be submitted; if source or object code for the
program is not available (i.e. only an executable binary, or if it is a shell script), then the program must submitted into Condor's
Vanilla Universe. See the reference page for condor_submitand/or consult the "Condor Users and Administrators Manual" for further informa-
tion.
To use condor_compile, simply enter "condor_compile" followed by whatever you would normally enter to compile or link your application. Any
resulting executables will have the Condor libraries linked in. For example:
condor_compile cc -O -o myprogram.condor file1.c file2.c ...
will produce a binary "myprogram.condor" which is relinked for Condor, capable of checkpoint/migration/remote-system-calls, and ready to
submit to the Standard Universe.
If the Condor administrator has opted to fully install condor_compile, then condor_compilecan be followed by practically any command or
program, including make or shell-script programs. For example, the following would all work:
condor_compile make
condor_compile make install
condor_compile f77 -O mysolver.f
condor_compile /bin/csh compile-me-shellscript
If the Condor administrator has opted to only do a partial install of condor_compile, the you are restricted to following condor_compile-
with one of these programs:
cc (the system C compiler)
c89 (POSIX compliant C compiler, on some systems)
CC (the system C++ compiler)
f77 (the system FORTRAN compiler)
gcc (the GNU C compiler)
g++ (the GNU C++ compiler)
g77 (the GNU FORTRAN compiler)
ld (the system linker)
NOTE: If you use explicitly call ``ld'' when you normally create your binary, simply use:
condor_compile ld <ld arguments and options>
instead.
Exit Status
condor_compileis a script that executes specified compilers and/or linkers. If an error is encountered before calling these other programs,
condor_compilewill exit with a status value of 1 (one). Otherwise, the exit status will be that given by the executed program.
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu
September 2012 condor_compile(1)