1
README.VC++ for GNU `indent' 2.2.7-pre2
2
----------------------------------
4
This file contains instructions for compiling GNU indent on the Win32 platform, and, in particular, Microsoft Visual C++ version 6.0 (though it may compile happily on earlier releases, this has not been tested)
6
There are a couple of methods of compiling it - either from the command line or from within Visual C++ itself
11
1. As Win32 has no equivalent of the 'configure' shell script, it is necessary to manually create the config.h file yourself. This can be done by renaming 'config.vc++' to 'config.h'. These options are sufficient for VC++ 6. If you are having problems compiling on an earlier releases, this file may be the place to look and modify the #defines.
15
For both methods first move the file miscel/indent.dsp to the src directory.
17
Option 1 - From within Visual C++
19
1. Open the project file ('indent.dsp')
20
2. Select a Debug or Release build
23
The final destination of indent.exe may be dependant on your configuration.
25
Option 2 - From the command line (Visual C++ 6.0 and later)
27
1. Ensure your PATH is setup to correctly find the Visual C++ directories.
28
This can be achieved by running
30
x:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT
32
(where x: is the drive VC++ is installed on)
34
2. At the command prompt, and from the indent distribution directory,
35
run the following command:
37
msdev indent.dsp /MAKE "indent - Win32 Release"
42
The 'indent.exe' compiled under Visual C++ 6.0 has been tested successfully on Windows 95, 98, NT 4 and 2000.
47
If you have any issues regarding compilation on Win32, please contact me at ben@parisoffice.com
50
- Ben Bourner 28 September 1999