Results 1 to 2 of 2
Hi, I am looking for a solution to find some relativity between *.c and its *.out file in gcc (g++) execution. as example gcc hello.c -o hello.out I am looking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-22-2009 #1
- Join Date
- Aug 2009
how to relate gcc *.c file with its .out file
I am looking for a solution to find some relativity between *.c and its *.out file in gcc (g++) execution.
as example gcc hello.c -o hello.out
I am looking to find how we can surely conclude that hello.out is generated from hello.c
This I am looking to find semantically identical files, which can be regenerated if it is needed.
Also I am thinking to trace all system calls associated with gcc execution and parse input and output file name, then stored those pair in table.
This seems very difficult, but no whereto start that why I choose this way.
All suggestions are appreciated
- 10-26-2009 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
Please move this thread to the Linux Programming and Scripting forum. This one is for kernel questions. Thx.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!