LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Command to Finding Source files for a library file (https://www.linuxquestions.org/questions/programming-9/command-to-finding-source-files-for-a-library-file-305207/)

jonty_11 03-23-2005 03:34 PM

Command to Finding Source files for a library file
 
Does anyone know a command to find the source files (.c or .cpp) that were compiled to Build a lib.so file....

E.g.
there is a command called - ldd which tells you all the Library files that a particular application (executable uses)

Hko 03-23-2005 05:17 PM

I think it's not possible to do that directly. After compiling, the source code for C program is not needed to work.


All times are GMT -5. The time now is 04:29 AM.