delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/18/10:38:03

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: <3E525380.2000801@roadrunner.uk.com>
Date: Tue, 18 Feb 2003 15:38:40 +0000
From: Ben Clewett <B DOT Clewett AT roadrunner DOT uk DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: John Vincent <jpv50 AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Duplicate CygWin
References: <F37KT2qeSqk0qcITzSO00000d4d AT hotmail DOT com>
In-Reply-To: <F37KT2qeSqk0qcITzSO00000d4d@hotmail.com>

BTW, love the coloured man pages on CygWin.

Like launching app as:

bash chroot /cygdrive/c/progra~1/my_stuff application.exe

(Or something similar, not tested this...)

For my working, I would need a fully detached CygWin.  It's own memory, 
it's own DLL, and not a dependence on an existing installation, which 
this method would have.

This is because I will be using Install Sheild to load and run an entire 
application, which is compiled under CygWin, onto a foreign machine, 
which may be of any setup including an old, badly setup, hached and 
conflicting CygWin...  Also then the 'Add/Remove Software' can rid the 
foreign OS of my stuff, without deleting the CygWin which is being used 
by my poor customer.

I do not need this for about six months, so will give me plenty of time 
to have a good hack and get to know CygWin a lot better....

Ben


John Vincent wrote:
> Hi there,
> 
> I may be missing something, but from you're original email
> it looks to me like you don't need another cygwin1.dll at all!
> 
> I think all you need is a script with a few calls to umount and
> mount to fix your file mount points and a call to chroot to change
> the file system root, plus some changes to the PATH environment
> variable.
> 
> Try "man chroot", "man umount" and "man mount" to see how these
> commands work. Then write a little shell script wrapper to run
> your application after changing the mount points, file system
> root, and environment appropriately.
> 
> I hope this suggestion helps.
> 
> /John Vincent.
> 
>>
>> (snipped from original posting)
>> Noting:- It's not a cut down version of CygWin*.DLL I need,
>> but a cut down version of the file system, to just a couple
>> of dozen files in /bin, /tmp, /usr and /etc, forming a 'mini'
>> UNIX for a specific application.
>>
> 
> 
> 
> 
> 
> _________________________________________________________________
> MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
> 
> 
> -- 
> 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/
> 



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