if I linked a static lib do I need to...

lejeczek via gcc-help gcc-help@gcc.gnu.org
Mon Mar 13 23:05:00 GMT 2017


if I linked a static lib and compilation rendered a dynamic lib,
now when I further compile and use that dyn lib, do I need 
to include that static lib(s) I linked to the first time?

I realise my question may be trivial, even childish, but 
please don't jump like mad hatter yet at me - a complete 
non-prammer here.
I probably also make the question vague, if I could give you 
a bit insight into a scenario... that could be one of those 
(common?) where someone uses those specialised/optimized 
math libraries.
Like I read with R project, when people built it that way 
and then subsequent R's libraries would be compiled, those 
that need compilation. Would this be a good example and make 
sense?

many thanks,
L.



More information about the Gcc-help mailing list