Gentoo Archives: gentoo-embedded

From: "Peter S. Mazinger" <ps.m@×××.net>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] emerge/tbz2pkg for busybox
Date: Tue, 19 Apr 2005 05:10:54
Message-Id: Pine.LNX.4.44.0504190707230.31082-100000@lnx.bridge.intra
In Reply to: Re: [gentoo-embedded] emerge/tbz2pkg for busybox by Ned Ludd
1 On Tue, 12 Apr 2005, Ned Ludd wrote:
2
3 > Side for those that think smaller is better and I don't know where else
4 > to say this. But if your not using java and will never be on your
5 > embedded devices you can save about an extra 48 bytes per every
6 > ELF DY_DYN and ET_EXEC file by stripping the .jcr section.
7 > So together with the .comment and .jcr you can save about ~300 bytes.
8 >
9 > # grep STRIP /etc/make.conf
10 > PORTAGE_STRIP_FLAGS="--strip-unneeded -R .note -R .comment -R .jcr"
11
12 That could destroy your binaries, remove "-R .note" from it. That section
13 can't be handled like that, portage has to handle it in prepstrip.
14
15 Peter
16
17 --
18 Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
19 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
20
21 --
22 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] emerge/tbz2pkg for busybox Ned Ludd <solar@g.o>