delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/03/20:20:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.0.9.2.20030303171852.02a59b88@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Mon, 03 Mar 2003 17:20:57 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: compiling setup.exe (was Re: Distributing .ISO files.)
In-Reply-To: <3.0.5.32.20030303190121.00f52340@mail.earthlink.net>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0303031921190 DOT 25599-100000 AT slinky DOT cs DOT nyu DOT edu >
<3 DOT 0 DOT 5 DOT 32 DOT 20030303175336 DOT 01f35860 AT mail DOT earthlink DOT net>
Mime-Version: 1.0

Robert,

Upx.

<http://upx.sourceforge.net/>

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
% upx --help
                     Ultimate Packer for eXecutables
         Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
UPX 1.24w        Markus F.X.J. Oberhumer & Laszlo Molnar         Nov 7th 2002

Usage: upx [-123456789dlthVL] [-qvfk] [-o file] file..

Commands:
  -1     compress faster                   -9    compress better
  --best compress best (can be very slow for big files)
  -d     decompress                        -l    list compressed file
  -t     test compressed file              -V    display version number
  -h     give this help                    -L    display software license

Options:
  -q     be quiet                          -v    be verbose
  -oFILE write output to `FILE'
  -f     force compression of suspicious files
  --no-color, --mono, --color, --no-progress   change look

Backup options:
  -k, --backup        keep backup files
  --no-backup         no backup files [default]

Overlay options:
  --overlay=copy      copy any extra data attached to the file [default]
  --overlay=strip     strip any extra data attached to the file [dangerous]
  --overlay=skip      don't compress a file with an overlay

Options for dos/exe:
  --8086              make compressed exe work on any 8086
  --no-reloc          put no relocations in to the exe header

Options for dos/com:
  --8086              make compressed com work on any 8086

Options for dos/sys:
  --8086              make compressed sys work on any 8086

Options for djgpp2/coff:
  --coff              produce COFF output [default: EXE]

Options for watcom/le:
  --le                produce LE output [default: EXE]

Options for win32/pe & rtm32/pe:
  --compress-exports=0    do not compress the export section
  --compress-exports=1    compress the export section [default]
  --compress-icons=0      do not compress any icons
  --compress-icons=1      compress all but the first icon
  --compress-icons=2      compress all but the first icon directory [default]
  --compress-resources=0  do not compress any resources at all
  --strip-relocs=0        do not strip relocations
  --strip-relocs=1        strip relocations [default]

  file.. executables to (de)compress

This version supports: dos/exe, dos/com, dos/sys, djgpp2/coff, watcom/le,
                       win32/pe, rtm32/pe, tmt/adam, atari/tos, linux/386

UPX comes with ABSOLUTELY NO WARRANTY; for details type `upx -L'.
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-

Randall Schulz


At 17:01 2003-03-03, Robert Citek wrote:

>At 07:27 PM 3/3/2003 -0500, Igor Pechtchanski wrote:
>>> I'm still getting my feet wet with the Cygwin sources, CVS, patch, etc.
>>> For example, I downloaded the setup module and compiled it.  Instead of a
>>> ~100 K file, mine was ~10 MB.  It seems to work, but obviously, I did
>>> something wrong.  Or is being off by 2 orders of magnitude "close enough?"
>>
>>"man strip".  
>
>Will do.
>
>>FYI, the stripped mingw-compiled setup.exe is just over 700k.
>
>Hmmm.  The one I downloaded from the web to do the Cygwin install was only
>about 170k.  How do I create that one?
>
>Regards,
>- Robert


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