Re: Shared library linking with external static libraries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 12 October 2010 19:30:06 FloofLeBo wrote:
> 
> Thanks !
> 
> My application links with the shared object, and it runs with no problems !
> My symbols appear in "nm -C -g --defined-only" and only the symbols I want !
> Nice !
> 
> Thanks you so much ! You guys rock !

please don't top-post ;-)

> And now I'll go to the dead-stripping. How can I be sure that unused code
> from the external and internal static libraries is not shipped with the
> shared object ?

-Wl,--gc-sections should be enough.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux