1
vote
1answer
173 views

Can I read what CCFLAGS were used for building a binary?

Is there any way to read from compiled code what CCFLAGS (particularly the optimizations) were set at compile time?
6
votes
1answer
2k views

Linux, GNU GCC, ld, version scripts and the ELF binary format — How does it work?

I'm trying to learn more about library versioning in Linux and how to put it all to work. Here's the context: -- I have two versions of a dynamic library which expose the same set of interfaces, say ...