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 |