delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/12/11:22:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BC70A94.F0C023@syntrex.com>
Date: Fri, 12 Oct 2001 17:21:56 +0200
From: Pavel Tsekov <ptsekov AT syntrex DOT 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 AT cygwin DOT com
Subject: Re: PROGRAM TOO BIG
References: <3BC7187A DOT 28399 DOT 145CFAB AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019