Is there a difference between these, especially regarding libraries?

        ld -s

        strip -s

Matt Schalit wrote:
> 
> "Michael D. Schleif" wrote:
> >
> > Charles Steinkuehler wrote:
> > >
> > >"Michael D. Schleif" wrote:
> > > >
> > > > What is the secret to minimizing space of shared libraries?
> > >
> > > You can strip libraries too...
> >
> > Aha!  Much, much better . . .
> >
> > Live and learn ;>
> 
> I though you knew you could strip libraries
> but didn't know how.  Look at the man page
> for ld:
> 
> -s   Strip symbolic information from the output file.
>      The debug and line sections and their associated
>      relocation entries will be removed. Except for
>      relocatable files or shared objects, the symbol
>      table and string table sections will also be removed
>      from the output object file.
> 
> As it may not be the version of ld you're using, you
> might check that.  I don't do this enough to be a big
> help, but I figure you got it by now :)
> Matt

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to