Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] emerge/tbz2pkg for busybox
Date: Tue, 19 Apr 2005 13:58:14
Message-Id: 1113919015.6809.4.camel@localhost
In Reply to: Re: [gentoo-embedded] emerge/tbz2pkg for busybox by "Peter S. Mazinger"
1 On Tue, 2005-04-19 at 07:10 +0200, Peter S. Mazinger wrote:
2 > On Tue, 12 Apr 2005, Ned Ludd wrote:
3 >
4 > > Side for those that think smaller is better and I don't know where else
5 > > to say this. But if your not using java and will never be on your
6 > > embedded devices you can save about an extra 48 bytes per every
7 > > ELF DY_DYN and ET_EXEC file by stripping the .jcr section.
8 > > So together with the .comment and .jcr you can save about ~300 bytes.
9 > >
10 > > # grep STRIP /etc/make.conf
11 > > PORTAGE_STRIP_FLAGS="--strip-unneeded -R .note -R .comment -R .jcr"
12 >
13 > That could destroy your binaries, remove "-R .note" from it. That section
14 > can't be handled like that, portage has to handle it in prepstrip.
15
16
17 Peter what do you mean?
18 Those are the flags that are used by prepstrip and prepstrip only.
19
20 grep STRIP /usr/lib/portage/bin/prepstrip
21
22 --
23 Ned Ludd <solar@g.o>
24
25 --
26 gentoo-embedded@g.o mailing list