Last change
on this file since 31442 was 31442, checked in by ak19, 7 years ago |
Adding the GNUFile windows port of linux file utility to detect bitness of an executable. Link to license included and added a GS_README text file with some basic explanations.
|
File size:
1001 bytes
|
Line | |
---|
1 | GNUfile is the Windows version of the Linux file utility.
|
---|
2 | GNUfile can be used to detect the bitness (32 or 64 bit) of an executable.
|
---|
3 | The GNUfile executable itself is a 32 bit application.
|
---|
4 | It was suggested by http://stackoverflow.com/questions/2689168/checking-if-file-is-32bit-or-64bit-on-windows
|
---|
5 |
|
---|
6 | GNUfile was downloaded as a zipped binary along with the dependencies zip from http://gnuwin32.sourceforge.net/packages/file.htm
|
---|
7 | The contents of the two zip files were merged into the new GNUfile zip directory that lives in GS2/bin/windows/GNUfile
|
---|
8 | Its license is at http://gnuwin32.sourceforge.net/license.html
|
---|
9 |
|
---|
10 |
|
---|
11 | Run as:
|
---|
12 | file.exe <exe>
|
---|
13 |
|
---|
14 | e.g. GNUfile\bin\file.exe wvWare.exe
|
---|
15 |
|
---|
16 | Output for 32-bit compiled wvWare mentions "PE32":
|
---|
17 | wvWare.exe; PE32 executable for MS Windows (console) Intel 80386 32-bit
|
---|
18 |
|
---|
19 | When run on 64bit executables like 7zip 7z.exe below, GNUfile's output mentions "PE32+":
|
---|
20 |
|
---|
21 | C:\Program Files\7-Zip\7z.exe; PE32+ executable for MS Windows (console) Mono/.Net assembly |
---|
Note:
See
TracBrowser
for help on using the repository browser.