This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how do I use two versions of cygwin on one machine?

Your more generic questions needs a more specific answer.  I am using cygwin
to cross compile the real-time program for a PPC based single board
computer.  The OS for the SBC is eCos.  Using the most recent version of
cygwin I CAN compile the real-time program but it does will not execute on
the SBC.  I have not explored the issue any further because I needed to get
going so I just used the old version of cygwin.  Now, I will explore this
issue further and report back.

----- Original Message -----
From: "Christopher Faylor" <>
To: <>
Sent: Tuesday, October 14, 2003 3:55 PM
Subject: Re: how do I use two versions of cygwin on one machine?

> On Tue, Oct 14, 2003 at 02:23:24PM -0400, Igor Pechtchanski wrote:
> >On Tue, 14 Oct 2003, Max Bowsher wrote:
> >>Jim Perkins wrote:
> >>>I looked in the FAQ, I searched the archives, and I searched on
> >>> 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.
> >
> >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).
> I have a more generic question.  Newer cygwin DLLs are supposed to work
> with older applications.  What specific problem are you having with the
> older app?  You only say that it doesn't "work properly".
> We want to fix cygwin so that this doesn't happen.
> What is your specific problem?
> --
> Unsubscribe info:
> Problem reports:
> Documentation:
> FAQ:         

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]