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]

Re: It's compiled and works


gcc does'nt compile with debug information unless you add the '-g'
option.  I suspect the linker to be responsible of the bloating caused
by it linking the entire runtime system to the executable - also called
static linking.  I only wonder how to make dynamic linking possible if
this is what happens.

Chris Telting wrote:
> 
> Beautiful
> 
> It compiles and works.  Yay!!!
> Only code changes were for the "for (int x" warnings
> And adding a couple defines for winsock2.
> 
> The exe seems very bloated.  Does gcc compile with debug info
> automaticly?
> 
> What options to reduce file size and strip debug info?
> 
> BlueCoder
> bluecoder@rocketmail.com
> May you live as long as you wish and love as long as you live.
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
 Kim Poulsen, B.Sc.E.E, System Developer HW
 Ericsson Telebit A/S     Tel: + 45 86 28 81 76
 Fabriksvej 11            Fax: + 45 86 28 81 86
 DK-8260 Viby J           E-mail: info@tbit.dk
 Denmark                  URL: http://www.tbit.dk/

--
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]