Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BC70A94.F0C023@syntrex.com>
Date: Fri, 12 Oct 2001 17:21:56 +0200
From: Pavel Tsekov <ptsekov@syntrex.com>
Organization: Syntrex Inc.
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: PROGRAM TOO BIG
References: <3BC7187A.28399.145CFAB@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"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/

