Re: stripping binaries



jgauthier@kamikaze.whiteboard.net wrote:
> 
> I had the same problem. here's what i learned.
> stripping a static library can have the symbols repaired with
> ar -ts library.a
> I don't remember if shared is a problem or not. when I run configure
> I usually just do this:
> CXXFLAGS=-O6 CFLAGS=-O6 ./configure --prefix=/opt/gnome
> (egcs)
> This way they don't compiled with debugging symbols, making them *huge*
> 
> On Thu, 15 Apr 1999, Brian M Dial wrote:
> 
This did make ORBit smaller than usual but larger than if i totally
strip them.  I get a lot of unrecognized option: -06 though when
compiling with egcs 1.1.2.  Will this happen in some compilations ?

-Brian

> > Greetings all,
> >
> >       Could someone give me a quick rundown on when it is or isn't good to
> > strip libraries?  I'm making packages and after stripping ORBit
> > libraries I can't compile gnome-libs because I get undefined references
> > to `impl_CosNaming_NamingContext__create'
> > .  However, if I leave the libraries unstripped they compile fine (but
> > are just incredibly large.  I tried the --strip-unneeded option with
> > strip but it still happened.  Now what I think is that I could strip
> > them after compiling everything but will that then cause some of the
> > stuff not to work when installed by the stripped packages?
> >
> > -Brian
> >
> >
> > --
> >         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> >          To unsubscribe: mail gnome-list-request@gnome.org with
> >                        "unsubscribe" as the Subject.
> >
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.



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