How do I tell whether my cygwin installation is 32 or 64 bit? I don't remember which setup.exe to download. And I would hate to mess up my cygwin installation.
To find the version of the Cygwin DLL installed, you can use uname -r as you would for a Unix kernel. As the Cygwin DLL takes the place of a Unix kernel, you can also use the Unix compatible command: head /proc/version , or the Cygwin specific command: cygcheck -V .
Once you have an existing Cygwin installation, the setup.exe chooser is also used to manage your Cygwin installation. Information on installed packages is kept in the /etc/setup/ directory of your Cygwin installation; if setup.exe cannot find this directory it will act as if you have no Cygwin installation.
Or check the version information of cygwin1.dll using Windows Explorer. If you want to detect if you're running the 32 bit or 64 bit version, the -m switch will tell you: "i686" for the 32-bit version, "x86_64" if it's 64-bit.
Run setup-x86_64.exe any time you want to update or install a Cygwin package for 64-bit windows. The signature for setup-x86_64.exe can be used to verify the validity of this binary. Installing and Updating Cygwin for 32-bit versions of Windows Run setup-x86.exe any time you want to update or install a Cygwin package for 32-bit windows.
If you are looking for the version number for the whole Cygwin release, there is none. Each package in the Cygwin release has its own version, and the cygwin package containing the Cygwin DLL and Cygwin system specific utilities is just another (but very important!) package.
The WOW64 tells you it's 32-bit Cygwin on 64-bit Windows. On 32-bit you've got no choice, right? ; - ) Update: (Thanks to theDrake.)
uname -m
And it should say x86_64
in the output if it's 64-bit, or i686
if 32-bit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With