This is the mail archive of the cygwin 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: developing 32-bit and 64-bit in a shared environment


-----Original Message-----
From: Christopher Faylor 2-bit and 64-bit in a shared environment

On Wed, Jun 25, 2014 at 01:04:24PM +0000, Nellis, Kenneth wrote:
>I have happily been using 32-bit Cygwin for years, developing 
>shell/perl scripts and C/C++ software. Some of the users that I support 
>have upgraded to 64-bit Cygwin, and so my 32-bit C/C++ binaries no 
>longer work for them. That has forced me to adopt 64-bit Cygwin, which 
>I've installed on the same machine as my 32-bit Cygwin. I need to 
>maintain both environments in parallel.
>
>Now, I want to share my Cygwin $HOME directory between the two 
>environments.  I already keep my binaries in $HOME/bin/$(arch) and 
>$HOME/lib/$(arch), so they are covered. And, of course /usr/bin has to 
>continue to point to the separate Cygwin environments.
>
>I didn't see what I was looking for in the FAQ or User Guide, so am 
>looking for advice from the list.

I think you're looking for this:

https://cygwin.com/cygwin-ug-net/using.html#using-pathnames

i.e., use /etc/fstab to mount your home directory to the same place in both environments.

cgf
-----Reply-----
I knew that! Anyway, works great. Thanx!

-Ken Nellis



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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