Subject: RE: Cross-compiling libc5 to arm-linux

From: Jeff Sutherland <[email-masked]>
Date: Wed, 3 May 2000 15:41:41 -0400

> BTW, for those interested in minimizing file 
> sizes, I've found that
> > many of the Makefiles in the GNU sources run gcc with the -g switch
> > (debugging) turned on.  If you have no need to debug 
> library routines or are
> > preparing production releases, be sure to turn this off.  
> It will make a
> > dramatic difference in the size of your executables.
> 
> Alternately you can 'strip' the resulting libraries which is probably
> simpler to do.
>
> Nicolas

Of course.  "arm-linux-strip --strip-unneeded -o <outfile> <infile>" has
pretty much the same effect after the fact as removing the -g switch to gcc
beforehand.  Just don't get carried away and do  a --strip-all (at least not
for your apps :)

//Jeff

unsubscribe: body of `unsubscribe linux-arm' to [email-masked]
++        Please use [email-masked] for           ++
++                        kernel-related discussions.                      ++