Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-23-2005, 04:34 PM   #1
Registered: Sep 2004
Posts: 127

Rep: Reputation: 15
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 file....

there is a command called - ldd which tells you all the Library files that a particular application (executable uses)
Old 03-23-2005, 06:17 PM   #2
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a command to merge two files as two columns of one file? davee Linux - General 2 07-19-2005 11:52 AM
Error creating library file from object files using xlc montylee AIX 2 04-07-2005 08:44 AM
source for xlib / libx11 library source? Whatsisname Linux - Software 7 02-18-2005 04:23 PM
Command to combine several files as a single file, etc. satimis *BSD 3 06-10-2004 04:59 AM
file managment / finding files nyxriver Linux - Newbie 8 05-04-2004 03:48 PM > Forums > Non-*NIX Forums > Programming

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration