From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from skinny.southernlinux.net (ns2.rednecks.net [64.192.52.5]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3JDwCrx007543 for ; Tue, 19 Apr 2005 13:58:14 GMT Received: (qmail 7543 invoked by uid 210); 19 Apr 2005 09:58:02 -0400 Received: from 10.10.10.188 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/839. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(10.10.10.188):. Processed in 0.063761 secs); 19 Apr 2005 13:58:02 -0000 Received: from unknown (HELO ?10.10.10.188?) (10.10.10.188) by 0 with RC4-MD5 encrypted SMTP; 19 Apr 2005 09:58:01 -0400 Subject: Re: [gentoo-embedded] emerge/tbz2pkg for busybox From: Ned Ludd To: gentoo-embedded@lists.gentoo.org In-Reply-To: References: Content-Type: text/plain Date: Tue, 19 Apr 2005 09:56:55 -0400 Message-Id: <1113919015.6809.4.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Archives-Salt: b5feea48-a8a8-456e-9764-8451e070841c X-Archives-Hash: deb9db1f3723808944a11aae7ec1b26c On Tue, 2005-04-19 at 07:10 +0200, Peter S. Mazinger wrote: > On Tue, 12 Apr 2005, Ned Ludd wrote: > > > Side for those that think smaller is better and I don't know where else > > to say this. But if your not using java and will never be on your > > embedded devices you can save about an extra 48 bytes per every > > ELF DY_DYN and ET_EXEC file by stripping the .jcr section. > > So together with the .comment and .jcr you can save about ~300 bytes. > > > > # grep STRIP /etc/make.conf > > PORTAGE_STRIP_FLAGS="--strip-unneeded -R .note -R .comment -R .jcr" > > That could destroy your binaries, remove "-R .note" from it. That section > can't be handled like that, portage has to handle it in prepstrip. Peter what do you mean? Those are the flags that are used by prepstrip and prepstrip only. grep STRIP /usr/lib/portage/bin/prepstrip -- Ned Ludd -- gentoo-embedded@gentoo.org mailing list