delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/24/07:22:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <1B6FF887D79FD2119FDB00805FBED48B01C129B2@erlm511a.erl9.siemens.de>
From: Rotter Klaus <Klaus DOT Rotter AT erl9 DOT siemens DOT de>
To: Cygwin Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: AW: It's compiled and works
Date: Tue, 24 Aug 1999 12:57:36 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAA12122

Von: Chris Telting
> The exe seems very bloated.  Does gcc compile with debug info
> automaticly?

Just do a "strip file.exe" where file.exe is your exe file.
It seems that gcc includes some kind of debug information.

-rwxr-xr-x   1 15362    everyone   297837 Aug 24 12:51 fptr-g.exe
-rwxr-xr-x   1 15362    everyone   296229 Aug 24 12:52 fptr-u.exe
-rwxr-xr-x   1 15362    everyone     3072 Aug 24 12:48 fptr.exe

fptr-g.exe is compiled with '-g', and fptr-u.exe is just "gcc fptr.c -o fptr-u.exe"
fptr.exe is the stripped binary. Maybe without '-g' there is just the debug 
info of the support libraries included, and with '-g' there is also debug info
for the program itself.

-- 
 Klaus Rotter, Siemens AG,  ATD TD 6 EPG, Postfach 3249, 91020 Erlangen
 Frauenauracherstraße 98, 91056 Erlangen
 Tel.: +49 9131 18-84637, Fax: +49 9131 18-84648 
 mailto:Klaus DOT Rotter AT erl9 DOT siemens DOT de

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019