source: main/trunk/binaries/windows/bin/GNUfile/contrib/file/5.03/file-5.03-GnuWin32.README@ 31442

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: 2.4 KB
Line 
1* File-5.03 for Windows *
2=========================
3
4What is it?
5-----------
6File: determine file type
7
8Description
9-----------
10File tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed. The type printed will usually contain one of the words text (the file contains only printing characters and a few common control characters and is probably safe to read on an ASCII terminal), executable (the file contains the result of compiling a program in a form understandable to some UNIX kernel or another), or data meaning anything else (data is usually `binary' or non-printable). Exceptions are well-known file formats (core files, tar archives) that are known to contain binary data. Starting with version 4, the file command is not much more than a wrapper around the "magic" library.
11
12Homepage
13--------
14http://www.darwinsys.com/file/
15Sources: ftp://ftp.astron.com/pub/file/file-5.03.tar.gz
16
17System
18------
19- Win32, i.e. MS-Windows 95 / 98 / ME / NT / 2000 / XP / 2003 / Vista / 2008 with msvcrt.dll
20- if msvcrt.dll is not in your Windows/System folder, get it from
21 Microsoft <http://support.microsoft.com/kb/259403>
22 or by installing Internet Explorer 4.0 or higher
23 <http://www.microsoft.com/windows/ie>
24- regex <http://gnuwin32.sourceforge.net/packages/regex.htm>
25- zlib <http://gnuwin32.sourceforge.net/packages/zlib.htm>
26
27Notes
28-----
29- Bugs and questions on this MS-Windows port: [email protected]
30
31Package Availability
32--------------------
33- in: http://gnuwin32.sourceforge.net
34Installation
35------------
36
37Sources
38-------
39- file-5.03-src.zip
40
41Compilation
42-----------
43The package has been compiled with GNU auto-tools, GNU make, and Mingw
44(GCC for MS-Windows). Any differences from the original sources are given
45in file-5.03-GnuWin32.diffs in file-5.03-src.zip. Libraries needed
46for compilation can be found at the lines starting with 'LIBS = ' in the
47Makefiles. Usually, these are standard libraries provided with Mingw, or
48libraries from the package itself; 'gw32c' refers to the libgw32c package,
49which provides MS-Windows substitutes or stubs for functions normally found in
50Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html
51and http://gnuwin32.sourceforge.net/packages/libgw32c.htm.
Note: See TracBrowser for help on using the repository browser.