delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | RE: Can I use two sets of different cygwin installations simultaneously? |
Date: | Tue, 15 Aug 2006 13:50:01 -0400 |
Message-ID: | <31DDB7BE4BF41D4888D41709C476B65704168E19@NIHCESMLBX5.nih.gov> |
In-Reply-To: | <20060815110227.68834.qmail@web70207.mail.krs.yahoo.com> |
From: | "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder AT niaid DOT nih DOT gov> |
To: | "?? ?" <choikwanghoon2002 AT yahoo DOT co DOT kr>, <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k7FHoCRs028339 |
±¤ÈÆ ÃÖ wrote: > Can I use two different sets of cygwin installations safely? > > For example, one set may include the up-to-date full packages, while > the other may include somewhat old-dated, partially installed > packages. > > The second set might look strange to you, but I have to keep it > because I need to maintain the same cygwin environment as what all of > my colleagues have in order to develop some software together. > > It would be the best if I can configure the cygwin setup procedure to > satisfy this requirement. > > Thanks in advance > > K. Choi > > ________________________________________________________ > 180µµ ´Þ¶óÁø ¾ßÈÄ! ¸ÞÀÏ - ÄÄÇ»ÅÍ¿Í ÈÞ´ëÆùÀ¸·Î ¾ðÁ¦ ¾îµð¼³ª »õ·Î¿î ¾ßÈÄ! ¸ÞÀÏÀ» È®ÀÎÇغ¸¼¼¿ä. > http://kr.content.mail.yahoo.com/cgland I think that you want to have two completely different cygwins, say one in c:\cygwin and one in c:\cygwin_old. Use two different copies of setup (c:\cygwin\arc\setup.exe and c:\cygwin_old\arc\setup.exe) each with its own package repository (c:\cygwin\arc and c:\cygwin_old\arc) to maintain them. Then use only one at a time and start them with batch files. Note that you can run multiple cygwin windows at a time but they all have to be started from the same batch file. (Modify to your specifics and taste.) @REM this is CYGWIN.BAT @echo off PATH=c:\cygwin;%PATH% set HOME=/home/username set CYGWIN=check_case:adjust export title nostrip_title C: chdir C:\cygwin bin\mount -f -u -b "c:/cygwin/bin" "/usr/bin" bin\mount -f -u -b "c:/cygwin/lib" "/usr/lib" bin\mount -f -u -b "c:/cygwin" "/" bin\bash --login -I exit and @REM this is CYGWIN_OLD.BAT @echo off PATH=c:\cygwin_old;%PATH% set HOME=/home/username set CYGWIN=check_case:adjust export title nostrip_title C: chdir C:\cygwin_old bin\mount -f -u -b "c:/cygwin_old/bin" "/usr/bin" bin\mount -f -u -b "c:/cygwin_old/lib" "/usr/lib" bin\mount -f -u -b "c:/cygwin_old" "/" bin\bash --login -I exit Directories that you want to share between both installations can be put in either installation (or outside of both) and mounted. mount -f -u -b "c:/cygwin/home" "/home" or mount -f -u -b "c:/cygwin_common/home" "/home" Also, check the mail archives. I know about the following mail threads, though they do not may or may not be of help (and there may be others). - January 2005: Multiple installations and 3PPs - October 2004: Spurious "You have multiple copies of cygwin1.dll on your system." If you give it a try, remember that I haven't tried it, so don't be surprised. :-) Good luck. - Barry -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |