Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Cygwin (64 bit) on a 64 bit Windows 8 laptop. I notice a lot of the libraries/binaries/etc. say "Cygwin32" on them. If I compile my code using these, will my software take full advantage of my 64 bit processor?

How can I tell if my programs are running in 32 bit vs 64 bit?

share|improve this question
Cygwin32 simply indicates its the win32 library not a reference to anything else – Ramhound Aug 10 '13 at 19:07
up vote 5 down vote accepted

You can find out what format an executable is with file.

# file putty.exe
putty.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit
share|improve this answer
that is for Linux. Is there something like that for Windows (Author mentioned Windows 8 laptop). – VL-80 Aug 10 '13 at 21:04
Cygwin is Linux-like environment for Windows. Generally an install would include utilities like file. – Brian Aug 10 '13 at 21:12
Thank you for explanation. I did not know. – VL-80 Aug 10 '13 at 21:14
Thanks, the result I got was PE32+ executable (console) x86-64, for MS Windows. What does this mean as far as 32 vs 64 bit? – drjrm3 Aug 10 '13 at 22:41
x86-64 means it is a 64 bit program. – Scott Chamberlain Aug 10 '13 at 23:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.