I'm new to Windows programming, and I'm looking for an equivalent of the Unix 'file' command that I can run on compiled objects (including .lib files and executables) to discover with what bitness they were compiled. For example, on my Mac I can run:
file /usr/bin/python /usr/bin/python: Mach-O universal binary with 3 architectures /usr/bin/python (for architecture x86_64): Mach-O 64-bit executable x86_64 /usr/bin/python (for architecture i386): Mach-O executable i386 /usr/bin/python (for architecture ppc7400): Mach-O executable ppc
Is there any command I can run to inspect compiled objects on Windows? Maybe part of Visual Studio?