From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20055 invoked by alias); 15 Oct 2002 11:15:40 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 19981 invoked from network); 15 Oct 2002 11:15:38 -0000 Received: from unknown (HELO wh2-19.st.uni-magdeburg.de) (141.44.162.19) by sources.redhat.com with SMTP; 15 Oct 2002 11:15:38 -0000 Received: by wh2-19.st.uni-magdeburg.de (Postfix, from userid 1000) id 5BBEC90F60; Tue, 15 Oct 2002 13:15:41 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15787.63706.925487.356970@wh2-19.st.uni-magdeburg.de> Date: Tue, 15 Oct 2002 04:15:00 -0000 From: "Claudio Bley" To: "Steve Dondley" Cc: "Michiel Buddingh'" , Subject: RE: Giant executables.. what am I doing wrong? In-Reply-To: References: <20021014234939.GA35014@stack.nl> X-SW-Source: 2002-10/txt/msg00186.txt.bz2 >>>>> "Steve" == Steve Dondley writes: >> with the --static option, then strip it with "--strip-all" I >> get a program worth 332 kB(!). Steve> This confuses me as well. I can't find any documentation Steve> about the --strip-all option in the GCC manual. (Maybe Steve> because I'm new to Linux/gcc? I did 'info gcc' and then Steve> did a search for '--strip' and 'strip' but could not find Steve> any reference to this option.) I also did a google search Steve> but that turned up nothing. How/where can I find out what Steve> this does? strip is a program provided by binutils. 'man 1 strip': STRIP(1) strip - Discard symbols from object files. SYNOPSIS strip [-F bfdname |--target=bfdname ] [-I bfdname |--input-target=bfdname ] [-O bfdname |--output-target=bfdname ] [-s|--strip-all] {...} objfile... ^^^^^^^^^^^^^^^ -- Claudio Bley ASCII ribbon campaign (") Debian GNU/Linux advocate - against HTML email X http://www.cs.uni-magdeburg.de/~bley/ & vCards / \