I have a shared library file (.so) and I need to know some information
- By which GCC version was this .so built?
- Was this .so built in 32 bits mode or 64 bits mode
Any command / tools to backtrace such kind of information?
Thanks in advance!
I have a shared library file (.so) and I need to know some information
Any command / tools to backtrace such kind of information?
Thanks in advance!
1) not sure how you determine that
2) use the file command to determine bit width
file yourlib.so
you should be able to use the GNU debugger - gdb to get backtrace data
For recent versions of GCC, this should work
strings - yourlib.so | grep GCC