This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: PROGRAM TOO BIG
- To: cygwin at cygwin dot com
- Subject: Re: PROGRAM TOO BIG
- From: Pavel Tsekov <ptsekov at syntrex dot com>
- Date: Fri, 12 Oct 2001 17:21:56 +0200
- Organization: Syntrex Inc.
- References: <3BC7187A.28399.145CFAB@localhost>
"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/