diff --git a/README b/README index b810be7..135ae05 100644 --- a/README +++ b/README @@ -85,9 +85,19 @@ following then happens 4. Building ----------- -In a WinDDK build environment, simply run the command: +(1) In a WinDDK build environment, run the command: -build -cZg + wddk-build.bat + +(2) [OPTIONAL Visual Studio 2010 support] In a VS2010 command prompt, run the + command: + + msvc-build.bat + +(3) [OPTIONAL MinGW support] In Linux with MinGW cross-compiler, run the + command: + + sh mingw-build.sh For more detailed build instructions, see doc\divert.html diff --git a/doc/divert.html b/doc/divert.html index 54219ea..1ccb946 100644 --- a/doc/divert.html +++ b/doc/divert.html @@ -11,6 +11,8 @@
-build -cZg +wddk-build.batThis will build the following files and place them in the -divert\install subdirectory: +install\WDDK subdirectory:
-MinGW version of WinDivert.dll may be built in Linux using the -mingw-build.sh script in the root directory. -Note that the .dll files from MinGW are incompatible with MSVC, -and vice versa. +NOTE: The WinDivert.dll and WinDivert.lib files +are only compatible with programs compiled with the WDDK compiler. +See below for Visual Studio 2010 and MinGW support.
+To build the WinDivert package for Visual Studio 2010: +
+msvc-build.bat ++This will build Visual Studio 2010 compatible files and place them in the +install\MSVC subdirectory.
+To build the WinDivert package for MinGW: +
+sh mingw-build.sh ++This will build MinGW compatible files and place them in the +install\MINGW subdirectory.