]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Windows compiling hints/winnt.html update from G. Sunil Tej
authorHarlan Stenn <stenn@ntp.org>
Tue, 11 May 2010 06:31:19 +0000 (02:31 -0400)
committerHarlan Stenn <stenn@ntp.org>
Tue, 11 May 2010 06:31:19 +0000 (02:31 -0400)
bk: 4be8f9b7n7FiZg5kPjPnIuFGCAKNqg

ChangeLog
html/hints/winnt.html

index 85caf6eec34f9a328a682a1ee4146eeef355c481..af5e9e35d6f20af6cdfe21893a17860f633e4408 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
   socket by default.  Provide a command-line 'socket name' option.
 * [Bug 1538] update refclock_nmea.c's call to getprotobyname().
 * [Bug 1541] Fix wrong keyword for "maxclock".
+* Windows compiling hints/winnt.html update from G. Sunil Tej.
 
 ---
 (4.2.6p2-RC2) 2010/04/27 Released by Harlan Stenn <stenn@ntp.org>
index 49d9cbc2285ccccce188a2549486e84a4ac7fe78..a2d277fa962e1e6a6b6ad4a3d7823754f9adb359 100644 (file)
         </ul>
         <h4>Compiling Requirements</h4>
         <ul>
-            <li>Windows NT 4.0 Windows 2000, Windows XP, or Windows.NET Server 2003
-            <li>Microsoft Visual C++ 6.0. <B>NOTE</B>VC++ 7.0 (aka .NET) is not yet supported
-            but will probably work fine.
+            <li>Windows NT 4.0 Windows 2000, Windows XP,Windows Vista or Windows.NET Server 2003
+            <li>Microsoft Visual C++ 2008 EE or Visual C++ 2010 EE
             <li>Some way of uncompressing and untarring the gzipped tar file.
             <li>OpenSSL must be built on the box before building NTP. Additional steps would
             be required to not use OpenSSL.
-        </ul>
-        <a name="Compiling">Compiling Instructions</a>
+        <li>Microsoft Visual C++ redistributables</ul>
+        <a name="Compiling"><B>Compiling Instructions</B></a>
         <ol>
-            <li>Unpack and build OpenSSL according to the OpenSSL instructions for building on Windows. Currently the NTP build requires OpenSSL 0.9.7b as it looks for the path to that build for the include and libeay32.lib files. If you have a different version you will need to adjust both the preprocessor path and the link path to point to the correct locations of the include files and the lib file respectively.
-            <li>Unpack the NTP-4.x.tar.gz using utilities such as WinZip.
-            <li>Open the .\ports\winnt\ntp.dsw Visual C workspace
-            <li>Batch build all projects
-            <li>The built binaries can be found in the port\winnt\bin\Release subdirectory
-            <li>In addition you will need to install the OpenSSL libeay32.dll
+            <li>Install Micosoft Visual C++ <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF">redistributables</a>
+            <li>Install <a href="http://www.slproweb.com/products/Win32OpenSSL.html">OpenSSL full installer for Windows</a>. Add the following to your system environment variables in the control panel (adjusting paths as appropriate to point to the directory containing only an openssl subdirectory, for OPENSSL_INC, and to the directory containing openssl .lib files for OPENSSL_LIB:
+<ul><li>       OPENSSL_INC=C:\OpenSSL\include
+<li>   OPENSSL_LIB=C:\OpenSSL\lib</ul>
+            <li>Unpack the NTP-4.x.tar.gz using utilities such as WinZip or WinRar.
+            <li>Run Microsoft Visual C++ 2008 EE.  On Windows Vista and later, Run as Administrator.
+            <li>Open the ports\winnt\vs2008\ntp.sln solution file
+            <li>Batch build all projects (Build menu, Batch Build..., select all, build).
+            <li>The built binaries can be found in the ports\winnt\v2008\bin\ directory.
             <li>If you are shipping binaries in a kit it is strongly recommended that you ship this file (winnt.html) along with the binaries.
         </ol>
         <h4>Configuration File</h4>