shared library filename

shared library filename

Post by Artem Zagorulk » Sat, 24 Nov 2001 17:35:28



1971401476
Hi, all!
How can shared library find out own filename?
 
 
 

shared library filename

Post by Paul Pluzhniko » Mon, 26 Nov 2001 01:54:03



Quote:> How can shared library find out own filename?

There is no portable way to achieve this.
However every system I know of that supports shared libraries
provides a non-portable way.

Which one would you like?

 
 
 

1. Will strip(debug shared library) == nodebug shared library ?

compiling the C++ code without debug option to produce object
files(.o) and then producing the shared library with them. Say, the
size of this library is SIZE_SO_NoD.

compiling the C++ code with debug option to produce object files(.o)
and then producing the shared library with them. Then, do 'strip
library_name'. Say, the size of this library is SIZE_SO_D.

Will SIZE_SO_NoD & SIZE_SO_D be exactly/almost equal ? If yes/no, why?
Also, what exactly 'mcs -d library_name' do? Does it reduce symbols
from the shared library which was produced without debug option also?

2. Need your time: related performance, maybe...

3. Help with building shared libraries with dependencies on other shared libraries

4. BogoMIPS

5. Question: Inclusion of shared libraries during linking of shared libraries

6. Minicom

7. Shared library loading shared library.

8. Texinfo - @sc attribute

9. Need a Shared Library Guru: beyond simple shared library question

10. When is a shared library not a shared library?

11. Shared libraries sharing from main app?

12. Compiling static libraries as shared libraries

13. Building shared library which includes static libraries