This is the mail archive of the cygwin@cygwin.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: PROGRAM TOO BIG


"Gerrit P. Haase" wrote:
> 
> > Josh schrieb am 2001-10-12 13:21:
> 
> >Use UPX (if you dont know search on google).
> 
> UPX-1.20 for cygwin precompiled is here:
> http://familiehaase.de/cygwin.html
> 
> >>Hom, Michael schrieb am 2001-10-11, 15:12:
> >>
> >>>Hello,
> >>>
> >>>I have a program which is approx 700Kb in size.  This appears to exceed
> >the
> >>>max of what my Cygwin installation can handle.  Is there anyway
> >workaround ?
> >>
> >>700kb?
> 

Also one may strip the executable if its too large. Though I dont think
700 kb is something that must one bother about :) 

strip --strip-debug executable_file_name or
strip --strip-all executable_file_name

The second may result in smaller executable but it 
strips the relocation info also which may not be a
good option on Windows.

Also if the program uses C++ one may disable the
suport for C++ exceptions which will decrease the file size
too.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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