| Index: net/third_party/udt/doc/doc/make.htm
|
| ===================================================================
|
| --- net/third_party/udt/doc/doc/make.htm (revision 78992)
|
| +++ net/third_party/udt/doc/doc/make.htm (working copy)
|
| @@ -1,53 +0,0 @@
|
| -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| -<html xmlns="http://www.w3.org/1999/xhtml">
|
| -<head>
|
| -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
| -<title>Introduction</title>
|
| -<link rel="stylesheet" href="udtdoc.css" type="text/css" />
|
| -<style type="text/css">
|
| -<!--
|
| -.style1 {color: #CC0000}
|
| -.style2 {color: #0000FF}
|
| --->
|
| -</style>
|
| -</head>
|
| -
|
| -<body>
|
| -<h3><font color="#000080">Installation Guide</font></h3>
|
| -<p>The UDT library is distributed with source code, example applications, and documentation. Currently the source code can be compiled on both Linux and Windows system.</p>
|
| -
|
| -<p>Here is the content of the distribution:</p>
|
| -
|
| -<p><tt class="note1"><span class="style2">./src</span>: UDT source code</tt><br>
|
| - <tt class="note1"><span class="style2">./app</span>: Example applications</tt><br>
|
| - <tt class="note1"><span class="style2">./doc</span>: UDT documentation</tt><br>
|
| -<tt class="note1"><span class="style2">./win</span>: Visual C++ project files for Windows version of UDT</tt></p>
|
| -
|
| -<p>The library is in the original source code format without any installation tools, so installation is simply a make command. To make the C++ source code on different platform, the user
|
| -needs to explicitly tell <i>make</i> the current operating system and hardware architecture with the "-e" option (except for Windows).</p>
|
| -<p>The available operating system options are: LINUX, BSD, and OSX. <br> The available options for hardware architecture are: IA32, IA64, POWERPC, and AMD64.</p>
|
| -
|
| -<p>The command is in the format:</p>
|
| -
|
| -<p class="style1">make -e os=XXX arch=YYY</p>
|
| -
|
| -<p>where XXX and YYY are one of the options above. Note that it is case sensitive. There is a default value for Linux on the IA32 architecture, so if UDT is compiled on it, simply use
|
| - make.
|
| -</p>
|
| -
|
| - </p>On Windows, use the Visual Studio .Net project files at ./win directory. It requires Visual C++ 7.0 or above to compile. Windows XP or above is also required under the default setting.
|
| - <p>If other Windows compilers are used, you may need to create
|
| - your own Makefile or project files. In particular, if you use Visual C++ 6.0 or your system is Windows 2000 or certain embeded Windows systems, please define LEGACY_WIN32 in your Makefile or project files. You may also need to download Windows platform SDK in order to get the <wspiapi.h> header file.</p>
|
| - <p>After a successful make, you can begin to use the UDT library. The (only) header file udt.h and the library libudt.a (depending on the target system, libudt.so, libudt.dylib, and udt.dll
|
| - may be available) are located in ./src directory.</p>
|
| - Proper environment configuration should be set up before using UDT library. For example, if using libudt.so, the library path environment variable must be updated as:
|
| - </p>
|
| -
|
| - </p>
|
| - export LD_LIBRARY_PATH=[location of libudt.so, e.g., ../src]:$LD_LIBRARY_PATH
|
| - </p>
|
| -</p>
|
| -<p>On Windows, copy udt.dll to the proper directory.</p>
|
| -<p> </p>
|
| -</body>
|
| -</html>
|
|
|