This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: developing 32-bit and 64-bit in a shared environment
- From: "Nellis, Kenneth" <Kenneth dot Nellis at xerox dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 26 Jun 2014 12:39:12 +0000
- Subject: RE: developing 32-bit and 64-bit in a shared environment
- Authentication-results: sourceware.org; auth=none
- References: <87oaxgrh49 dot fsf at Rainer dot invalid>
-----Original Message-----
From: Achim Gratz
Nellis, Kenneth writes:
> 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.
Make a user mount table in /etc/fstab.d/<user> and populate it with the appropriate mount points (most of those will be bind mounts). In addition, I like to keep the other Cygwin installation accessible via the system /etc/fstab as /mnt/cygwin32 and /mnt/cygwin64 respectively, if you want to be able to install directly into these from the other Cygwin you also need to re-create the ...usr/bin and ..usr/lib mount points there. Anything I've had in /usr/src has been moved to /mnt/share as well. That actually works a bit too well, so I've resorted to giving the shell windows different colors so I can remember which Cygwin I'm working with.
-----Reply-----
Thanx! I've changed my $PS1 prompts to keep straight which Cygwin I'm using based on $(arch).
What'd be really cool is if separate Cygwin[-Terminal].ico icons would distinguish which bit-version
I'm using. Yeah, I know, PTC. :-)
-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