This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: It's compiled and works


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.Rotter@erl9.siemens.de

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]