pepper 01/01/15 12:06:21
Modified: htdocs/manual win_compiling.html Log: Fixed <p> matching & tweaked punctuation. Clarified reference to Directories setting in VS. Revision Changes Path 1.10 +21 -15 httpd-docs-1.3/htdocs/manual/win_compiling.html Index: win_compiling.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/win_compiling.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- win_compiling.html 2000/12/20 23:48:31 1.9 +++ win_compiling.html 2001/01/15 20:06:21 1.10 @@ -25,23 +25,23 @@ Visual Studio environment. Consult the VC++ manual to determine how to install them. Be especially aware that the vcvars32.bat file from the Program Files/DevStudio/VC/bin folder, and the setenv.bat file - from the Platform SDK may be required to prepare the command-line tools + from the Platform SDK, may be required to prepare the command-line tools for command-line builds (e.g. using nmake). To install apache with the Makefile.win or the InstallBin project in the Visual Studio IDE, the awk utility is also required.</P> <P>First, you should install awk.exe where it can be found in the path and the DevStudio environment, if you plan to use the IDE. There are many - versions of awk available for Windows, the easiest to install is available + versions of awk available for Windows; the easiest to install is available from Brian Kernighan's <a href="http://cm.bell-labs.com/cm/cs/who/bwk/" >http://cm.bell-labs.com/cm/cs/who/bwk/</a> site. When downloading - site <a href="http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe" + <a href="http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe" >http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe</a> from this site, you must save it with the name awk.exe rather than awk95.exe.</P> -<P>Note that DevStudio will only find awk.exe from the <u>T</u>ools menu - <u>O</u>ptions... Directories settings of the Executable files. Add - the path for awk.exe to this list, as needed.</P> +<P>Note that DevStudio will only find awk.exe if its location is listed + under the <u>T</u>ools menu <u>O</u>ptions... Directories settings + for the Executable files. Add the path for awk.exe to this list, as needed.</P> <P>Then unpack the Apache distribution into an appropriate directory. Open a command-line prompt, and change to the @@ -60,21 +60,25 @@ track down problems.</P> <P>If you get an error such as "the name specified is not recognized..." - then you need to run vcvars32.bat first. Enter the following command; + then you need to run vcvars32.bat first. Enter the following command;</p> + <PRE> "c:\Program Files\DevStudio\VC\Bin\VCVARS32.BAT" </PRE> - (you will need to adjust this command so it matches the directory where + +<p>(you will need to adjust this command so it matches the directory where your VC was installed.)</P> <P>If you are a Visual C++ 5.0 user, and have installed a recent Platform SDK, you may also need to enter the following command (adjusted for the install - directory of the Platform SDK update); + directory of the Platform SDK update);</p> + <PRE> "c:\Program Files\Platform SDK\SETENV.BAT" </PRE> - Then try the nmake command again.</P> +<p>Then try the nmake command again.</P> + <P><STRONG>Note</STRONG> that the Windows Platform SDK update is required to enable all supported mod_isapi features. The SDK files distributed with Microsoft Visual C++ 5.0 are out of date. @@ -96,12 +100,14 @@ C++ 5.0 (97) will recognize them with the single exception of the /ZI flag, which corresponds to the VC 5.0 /Zi flag for debugging symbols. To quickly prepare the .dsp files for the Visual Studio 5.0 (97), you can use the - perl scripts distributed in the <CODE>src\helpers</CODE> folder: + perl scripts distributed in the <CODE>src\helpers</CODE> folder:</p> + <PRE> cd src\helpers cvstodsp5.pl </PRE> - This command assumes you have a Perl interpreter installed and registered + +<p>This command assumes you have a Perl interpreter installed and registered for files of type .pl. The list of converted .dsp project files will be displayed as they are converted. If you contribute back a patch that offers revised project files, please convert them back with the script @@ -142,7 +148,7 @@ <LI><CODE>os\win32\mod_proxy.dsp</CODE> </OL> - The <CODE>support\</CODE> folder contains project files for additional +<p>The <CODE>support\</CODE> folder contains project files for additional programs that are not part of the Apache runtime, but are used by the administrator to maintain password and log files.</P> @@ -201,14 +207,14 @@ be sure to use a similar naming scheme.</P> <P>To simplify the process, dependencies between all projects - are defined in the Microsoft VisualStudio workspace file: + are defined in the Microsoft Visual Studio workspace file: <PRE> src/Apache.dsw </PRE> <P>This assures that lower-level sources are rebuilt from within - VisualStudio. The top level project is InstallBin, which invokes + Visual Studio. The top level project is InstallBin, which invokes Makefile.win to move the compiled executables and dlls. You may personalize the INSTDIR= setting by changing the Settings for InstallBin, Build command line entry under the General tab.