Search code examples
makefilepackagebuilding

Tracing source to binary


I'm trying to understand the way a particular package fits into a project I'm working on. I believe only a portion of this package actually makes it into the binary of the project, and I need to find out exactly which parts. Library functions from this package are called from many other places (i.e. several other packages depend on it).

I plan to build the project and distribute it. Is the only way to determine which source->binary files I'll distribute by looking at all of the headers in my dependent packages? Or is there a more clever way to approach this?

Thanks in advance,


Solution

  • You haven't given us much information to go on, but here's a method that will work: remove parts of the package and see if the project will still compile.