Commit b9ae9296 authored by Kai Vehmanen's avatar Kai Vehmanen

Updated win32/README.txt.

darcs-hash:20070713101054-77cd4-c9c2d4e446cc99e4798d8f2010bcbae897e6838e.gz
parent 07f2c40c
......@@ -2,21 +2,44 @@
win32/README.txt / Sofia-SIP for win32
======================================
The win32 subdirectory contains the build environment for Win32 environment
using MSVC. In order to compile the code with Windows 2000 SDK you have to
install so called "IPv6 Technology Preview for Windows 2000". The preview
contains updated IPv6 API in <tpipv6.h> and <wspiapi.h> header files.
The win32 subdirectory contains the build environment for Win32
environment using MSVC.
http://msdn.microsoft.com/downloads/sdks/platform/tpipv6.asp
Currently, the provided workspace/solution files will create both
shared and static libraries for libsofia-sip-ua, and a few test
programs. The test programs can be run with the script check.cmd.
There is a pthread implementation for Visual C on Win32 included.
Source code and documentation for the pthread library can also be
downloaded from http://sources.redhat.com/pthreads-win32/.
Preparing the build tree
------------------------
The script autogen.cmd should be used to prepare source tree before
compiling Sofia SIP. Note that it uses the gawk utility - see
http://unxutils.sourceforge.net.
Currently, the SofiaSIP.dsw workspace creates a shared library for
sofia-sip-ua and a few test programs. The tests programs can be run
with the script check.cmd.
Notes pthread support
---------------------
There is a pthread implementation for Visual C on Win32 included.
Source code and documentation for the pthread library can also be
downloaded from http://sources.redhat.com/pthreads-win32/.
MS-VC6 specific notes
---------------------
The MSVC6 workspace file is "SofiaSIP.dsw".
With Visual Studio 6, and Windows 2000 or older Platform SDK, you
need to have so called "IPv6 Technology Preview for Windows 2000"
installed, in order to compile Sofia-SIP. This is required even
if IPv6 support is disabled (the socket APIs of older Platfrom SDKs
are insufficient).
You can download the preview SDK from:
http://msdn.microsoft.com/downloads/sdks/platform/tpipv6.asp
With newer Platform SDKs, the IPv6 Preview SDK is not needed.
MSVC2005 specific notes
------------------------
The MSVC2005 solution file is "SofiaSIP.sln".
......@@ -271,6 +271,10 @@
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\libsofia-sip-ua\su\string0.c"
>
</File>
<File
RelativePath="..\..\libsofia-sip-ua\su\su.c"
>
......
......@@ -45,6 +45,9 @@
#define SU_HAVE_BSDSOCK 0
#define SU_HAVE_STDINT (0)
#define SU_HAVE_NT 0
/* note: on Windows 2000 and older (WINVER<=500), IPv6-tech-preview
* is needed for IPv4 support as well, so SU_HAVE_IN6 must be set */
#define SU_HAVE_IN6 1
#define SU_HAVE_PTHREADS (1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment