Let's say I have a dynamic library (.so).What happens if I link to it using --start-group
--end-group
?
Is it treated as an archive, so that all necessary symbols are "physically" included in my output library?
Or is it treated still as dynamic library (equivalent to use -l
option)?
Reading the documentation one could think it will be treated as archive, but in fact it is also said that it is not possible to statically link to a shared library.