Linking whole archive into shared lib
Hi all!
I have a problem with linking whole static libraries into a single shared one. I know that linker includes object files from archives that contain referenced symbols. And I want to include all object files from all static archives. I tried ld option --whole-archive but it didn't work. At least in KDevelop. Please explain how to make such shared lib or drop me a link to the explanation.
|