How to identify library used by GCC linker ?
I am trying to use Linux command, hence my question is posted here, to physically verify / identify library used by GCC linker.
I have looked at GCC linker verbose output and it really does not tell me much, only that library "bluetooth" is set as "l" liked option - lbluetooth. This syntax shows all object files associated with "bluetooth": Quote:
|
probably you need to command ldd
|
Use linker -Wl,-Map=myfile.map option
|
can you show me an example? How does it work?
|
Quote:
Not really , just added the option to the linker. It creates the named file. It is pretty big and I have not analysed it in its entirety, just part. But I now know the exact library x.so files linked to the application. I may eventually have to rename them... |
All times are GMT -5. The time now is 07:23 PM. |