Linking static libs into shared libs

John Love-Jensen eljay@adobe.com
Wed Dec 18 07:06:00 GMT 2002


Hi Alex,

What does the 'nm' and/or 'objdump' commands tell you about libShared.so,
libstatic.a and libanotherstatic.xxx?

You do realize that order is important, so if libanotherstatic.xxx has
dependencies in libstatic.a that they may not be resolved correctly.

Can you contrive a minimal toy example that exhibits this behavior?

--Eljay



More information about the Gcc-help mailing list