X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=BUILD.Windows;h=ca0d25228d89497edec8561a57bec470c822df22;hb=ec988646afe6aee6a63d6894a3e9b50f715d5941;hp=ea931ebb2f9dfc5268d23db4b4db915796da90a5;hpb=cf06c2e944306a0bfa37813882d2b59dc6122b09;p=sliver-openvswitch.git diff --git a/BUILD.Windows b/BUILD.Windows index ea931ebb2..ca0d25228 100644 --- a/BUILD.Windows +++ b/BUILD.Windows @@ -34,6 +34,11 @@ If after the above step, a 'which link' inside MSYS's bash says, "/bin/link.exe", rename /bin/link.exe to something else so that the Visual studio's linker is used. +* For pthread support, install the library, dll and includes of pthreads-win32 +project from +ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-2-9-1-release to a +directory (e.g.: C:/pthread). + * Get the Open vSwitch sources from either cloning the repo using git or from a distribution tar ball. @@ -47,13 +52,17 @@ or from a distribution tar ball. the right compiler, linker, libraries, Open vSwitch component installation directories, etc. For example, - % ./configure CC=./build-aux/cccl LD="`which link`" LIBS="-lws2_32 ..." \ + % ./configure CC=./build-aux/cccl LD="`which link`" LIBS="-lws2_32" \ --prefix="C:/openvswitch/usr" --localstatedir="C:/openvswitch/var" \ - --sysconfdir="C:/openvswitch/etc" + --sysconfdir="C:/openvswitch/etc" --with-pthread="C:/pthread" * Run make for the ported executables in the top source directory, e.g.: - % make utilities/ovs-vsctl.exe ovsdb/ovsdb-server.exe + % make lib/vswitch-idl.h lib/vtep-idl.h ofproto/ipfix-entities.def + % make ovsdb/ovsdb-server.exe ovsdb/ovsdb-tool.exe ovsdb/ovsdb-client.exe \ + utilities/ovs-vsctl.exe utilities/ovs-ofctl.exe \ + utilities/ovs-dpctl.exe vswitchd/ovs-vswitchd.exe \ + utilities/ovs-appctl.exe OpenSSL, Open vSwitch and Visual C++ ------------------------------------