delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/28/10:00:10

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 28 Jan 2004 09:58:59 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: zzapper <david AT tvis DOT co DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: Cut-down Cygwin on a USB Memory Stick?
In-Reply-To: <dbif10l1pjuq8gepli7deiuomgkjr1suq1@4ax.com>
Message-ID: <Pine.GSO.4.56.0401280950020.5576@slinky.cs.nyu.edu>
References: <dbif10l1pjuq8gepli7deiuomgkjr1suq1 AT 4ax DOT com>
MIME-Version: 1.0

On Wed, 28 Jan 2004, zzapper wrote:

> Hi Y'All
>
> Anyone investigated putting a cutdown version of CygWin onto a memory
> stick (128MB or bigger).
> What would you need the dlls vim,find,grep,ls etc??
>
> zzapper (vim & cygwin & zsh)

Sure.  Google for "Cygwin on CD".  Some issues (mostly having to do with
the read-onlyness of CDs) won't come up with the memory stick, others will
(/etc/passwd contents, for example).  As for what's needed, here's a
simple recipe:

Step 1: Find all the programs you'd like to have, copy them to a directory
on your hard drive.

Step 2: Change to that directory and run "cygcheck *.exe".

Step 3: Copy all the non-Windows DLLs listed in Step 2 into the directory.

Step 4: Move the whole directory to the memory stick and rename it to "bin".

The above doesn't address the issue of configuration files (which vary
with the individual programs).  I suggest examining the structure of the
packages and reading the READMEs (both package and Cygwin-specific)
carefully.  You can also view the "setup.ini" file in setup's local
package cache directory and, if you see a "requires:" line on one of the
packages containing the program you need, examine the required package to
see what parts of it are necessary.

To find out which package a file belongs to, use "cygcheck -f filename".
To list the contents of an (installed) package, use "cygcheck -l filename".
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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