static and dynamic linking
Hello,
is it possible, with GNU toolchain, to statically relink dynamically linked binary? For instance, if i have a.out that depends on libsomething, i want to integrate libsomething into a.out. |
Yes, but you will need:
But, are you sure you need to do this? If there is an update for the (shared version) of the lib, your program will still use the old version until it gets re-linked with the new version of the static lib. Also using static libs isless memory efficient. |
All times are GMT -5. The time now is 12:37 AM. |