This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [OT: dependencies]


> To: gcc@gcc.gnu.org
> From: nbecker@fred.net
> Date: 17 Jul 2000 13:19:09 -0400

> I want to write a program that will read a binary (not stripped) and
> spit out a list of the source files.  What is the easiest starting
> point?  objdump?  Or maybe a elf reading library?

Easiest way, find a utility that does it, and then run sed and/or grep
on the output.  I think objdump will spit the information out.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]