Date: Tue, 27 Jun 2000 15:32:44 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp-workers AT delorie DOT com Subject: Re: is it possible to use strip option in call to compiler (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com It looks like Binutils 2.9.5.x adds random garbage from the disk to the executable, for alignment purposes. I think this is a pest (you risk to have the company secrets or the latest letter to your lover to be read by half the world and their dog ;-) Is it possible to change that in the next upload of Binutils? (Perhaps it's already solved in v2.10, I didn't yet install that.) See the message below for details. This thread began when someone told that running `strip' after "gcc -s" makes the program smaller (by exactly 2KB, I must add). ---------- Forwarded message ---------- Date: Mon, 26 Jun 2000 15:32:06 -0500 From: Josh Haglund To: Eli Zaretskii Subject: Re: is it possible to use strip option in call to compiler It print this after ld --version: GNU ld 2.9.5 Copyright 1997 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public Licencs. This program has absolutely no warranty. Supported emulations: i386go32 [Windows 95] C:\WINDOWS> That's all. 8>) Josh Haglund lhaglund AT wiktel DOT com ----- Original Message ----- From: "Eli Zaretskii" To: "Josh Haglund" Sent: Monday, June 26, 2000 3:24 AM Subject: Re: is it possible to use strip option in call to compiler > > On Mon, 26 Jun 2000, Josh Haglund wrote: > > > It reduces it a bit more. > > I am surprised it reduces it somemore, because I > > already used -s. > > Looks like a bug in Binutils. > > What version of Binutils do you have installed? What does "ld --version" > print?