~ubuntu-branches/ubuntu/trusty/indent/trusty

« back to all changes in this revision

Viewing changes to miscel/README.vc++

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2002-01-27 18:47:28 UTC
  • Revision ID: james.westby@ubuntu.com-20020127184728-5w6lnpj072bqil91
Tags: upstream-2.2.7
ImportĀ upstreamĀ versionĀ 2.2.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
README.VC++ for GNU `indent' 2.2.7-pre2
 
2
----------------------------------
 
3
 
 
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)
 
5
 
 
6
There are a couple of methods of compiling it - either from the command line or from within Visual C++ itself
 
7
 
 
8
Preparation steps
 
9
-----------------
 
10
 
 
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.
 
12
 
 
13
Compilation procedure
 
14
---------------------
 
15
For both methods first move the file miscel/indent.dsp to the src directory.
 
16
 
 
17
Option 1 - From within Visual C++
 
18
 
 
19
  1. Open the project file ('indent.dsp')
 
20
  2. Select a Debug or Release build
 
21
  3. Build.
 
22
 
 
23
  The final destination of indent.exe may be dependant on your configuration.
 
24
 
 
25
Option 2 - From the command line (Visual C++ 6.0 and later)
 
26
 
 
27
  1. Ensure your PATH is setup to correctly find the Visual C++ directories. 
 
28
     This can be achieved by running 
 
29
 
 
30
        x:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT
 
31
 
 
32
     (where x: is the drive VC++ is installed on)
 
33
 
 
34
  2. At the command prompt, and from the indent distribution directory, 
 
35
     run the following command:
 
36
 
 
37
        msdev indent.dsp /MAKE  "indent - Win32 Release"
 
38
 
 
39
Notes
 
40
-----
 
41
 
 
42
The 'indent.exe' compiled under Visual C++ 6.0 has been tested successfully on Windows 95, 98, NT 4 and 2000.
 
43
 
 
44
Contact
 
45
-------
 
46
 
 
47
If you have any issues regarding compilation on Win32, please contact me at ben@parisoffice.com
 
48
 
 
49
 
 
50
- Ben Bourner 28 September 1999
 
51