Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Tue, 14 Oct 2003 14:23:24 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Jim Perkins cc: cygwin AT cygwin DOT com Subject: Re: how do I use two versions of cygwin on one machine? In-Reply-To: <022101c3927f$aea02aa0$78d96f83@starfruit> Message-ID: References: <01e801c39275$c42035a0$6a68229b AT nitrous> <022101c3927f$aea02aa0$78d96f83 AT starfruit> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 14 Oct 2003, Max Bowsher wrote: > Jim Perkins wrote: > > I looked in the FAQ, I searched the archives, and I searched on > > deja.com with no luck. I have been using cygwin for quite a while > > and I'm dependent on it. Recently I started working with a new > > single board computer. The compile environment is an older version > > of cygwin. More recent versions of cygwin don't work properly for > > this compiling task. I don't mind using an older version but the one > > the manufacturer sent is very stripped down and is basically only > > good for running "make". So, I figured I could just have two > > versions of cygwin on my machine and only use one at a time. So far > > I have not been able to do it. Any suggestions? > > Short answer: You can't. > > Long answer: There are ways, but they are *very* inelegant. > Essentially, you would have to manually switch the data stored in the > registry to that for the appropriate version of Cygwin. > Naturally, close all cygwin processes whilst doing so. > If you have the Cygwin bin directory in PATH, you will have to change that > too, every time. > > If you do take this route, be very aware that list explicitly does not > support modified installs of Cygwin like the above. > > Max. Jim, If you install the two versions as two different users and are willing to switch users whenever you want to switch the versions, you may not have to do the above as long as the user mounts are set up correctly. Just make sure you don't have the two versions of cygwin1.dll loaded at the same time (e.g., don't run any services). 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/