Compare two executables


 
Thread Tools Search this Thread
Top Forums Programming Compare two executables
# 15  
Old 05-15-2009
Thank you very much for your help Shamrock. I'm afraid I have to leave now as 17:30 in UK and have to get somewhere else on time.

Once again thank you - Mike
# 16  
Old 05-15-2009
What errors are you getting with the new version...post them here please.
# 17  
Old 05-15-2009
The server program I am linking, when executed is spawned from an IDL client program. THe client opens a two way pipe using STDIN and STDOUT to communicate. The IDL client issues command strings to the server and the server responds; data passes both ways, as do return codes. I follow every call to an API routine with a status code returned to the client. One dissadvantage of the pipe is that messages issued by the API on STDOUT go down the pipe rather than to the terminal.

To get round this Status codes that I send down the pipe are always preceded by the CHR(2) which I can look for as the start of what I have sent and I read away any "extraneous" messages preceding my status code and my associated message. In debug I can access the extraneous message that is usually just read away.

In this case however I call an API routine (with a debug print before it) and it never returns from the call, the server apparently terminates gracefully, and no message is issued either to STDOUT or STDERR.
# 18  
Old 05-15-2009
Use gdb to debug runtime errors like the one you are facing...run the server program within a debugger and see it that helps any bit.
# 19  
Old 05-20-2009
Shamrock and vgersh99 Thank you for all the help.

In the end I started with my original makefile and made incremental edits, checking that at each stage I got a successful result. At the end of that process I have a makefile that works; nothing went wrong. I admit that I still do not know what was wrong with my first attempt that was edited all in one big hit, but don't have the time to look at it further. This does not mean that I do not appreciate the time that you have spent; on the contrary I am most grateful.

Mike
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Gcc cannot create executables

https://www.unix.com/302461112-post1.html Thank you. It's still in Linux Mint 17 (3 Replies)
Discussion started by: jgt
3 Replies

2. Shell Programming and Scripting

Scripting with executables

Hi everyone, I am working with an executable (let's say work) in bash shell. When I run this work executable it asks the following information; 1- choose task a or b 2- input file 3- output file 4- some operational choices after it reads the given input file, does some algebraic... (17 Replies)
Discussion started by: hayreter
17 Replies

3. Shell Programming and Scripting

Help: Makefile with multiple executables

I am trying to create executables for the following files Currently, I am making 9 different directories for for each. I would like to make 1 directory but everytime I try it does not work. CROSS_COMPILE?= # CROSS_COMPILE used to = arm-arago-linux-gnueabi... (1 Reply)
Discussion started by: bpetersen
1 Replies

4. Shell Programming and Scripting

Searching for executables

Hello Unix users, this is my first post here. :) I want to search a directory (and subdirectories) for executable files (files with rwx------ permission) and move them to a different folder. What Unix commands can accomplish this? (2 Replies)
Discussion started by: Sagan_Radiation
2 Replies

5. Shell Programming and Scripting

Running executables in ksh

I am trying a set up a very simple korn shell script. It has 2 basic steps. Firstly I read the first line of a text file (which is a file name) Secondly I run a fortran executable using that line I must be doing something wring because it wouldn't work. I know that the executable wants the... (4 Replies)
Discussion started by: larangunn
4 Replies

6. Solaris

C compiler cannot create executables

Hi, I'm trying to compile Apache2.2 (I know it is available as a package) on a fresh install of Solaris Express 11. I've installed gcc-3 and gnu-bintutils via pkg. The config.log is attached (as config.txt). I don't see what I'm missing. Thanks, Doug (1 Reply)
Discussion started by: Doug_M
1 Replies

7. UNIX for Dummies Questions & Answers

Regarding shell scripts to executables

Hi, I have written a shell script for automating some of our repetitive activities. I want all my colleagues to use my script and do the activities automatically by just running the script. But I do not want them to see the code. Is there a way we can generate something like an executable... (16 Replies)
Discussion started by: lokachari
16 Replies

8. Programming

Error creating executables

hi, I am getting error when trying to create binaaries for Xerces C++ error is configure:error:installation:cofihuration error:compiler cant create executables ??????????? Thanks in advance im using AIX flavour of IBM Im using ./configure command to create binaries.Its saying c... (6 Replies)
Discussion started by: chetan2309
6 Replies

9. Programming

executables ending with *

Hi All, I m very new to unix. I have a basic doubt .. In unix I m seeing that there is a * at the end of by executable name (exe1*).. Wht is the significance of that Thanks a lot in advance (2 Replies)
Discussion started by: binums
2 Replies

10. UNIX for Dummies Questions & Answers

cannot create executables

I am trying to install PROFTPD-1.2.7 on a SCO OpenServer 5.0.6 Server with a gcc-2.95.2 installed the VOLS files from http://www.caldera.com/skunkware. The problem I am having is when I try to run ./configure in the proftpd directory I get this error: # ./configure checking build system... (6 Replies)
Discussion started by: stufine
6 Replies
Login or Register to Ask a Question