view liblfds.6/building.txt @ 1106:2d392ecdd366

Fix race is xenvbd causing 30 second freeze under high load
author James Harper <>
date Tue Nov 11 23:08:11 2014 +1100 (2014-11-11)
parents 6300617040e0
line source
1 building liblfds
2 ================
4 Windows (user-mode)
5 ===================
6 1. Use Microsoft Visual Studio 2008 or Visual C++ 2008 Express Edition
7 to load "liblfds.sln".
9 2. Use Microsoft Windows SDK and GNUmake to run (obviously
10 you'll need to have run the appropriate vcvars*.bat first; you can build
11 for both IA64, 64-bit and 32-bit - just run the correct vcvars batch file).
13 Targets are "librel", "libdbg", "dllrel", "dlldbg" and "clean". You need
14 to clean between switching targets.
16 Windows (kernel)
17 ================
18 Use the Windows Driver Kit "build" command. Prior to running "build",
19 if you wish to build a static library, run the batch file
20 "runme_before_win_kernel_static_lib_build.bat"; if you wish to
21 build a dynamic library, instead run "runme_before_win_kernel_dynamic_lib_build.bat".
23 The Windows kernel build system is rather limited and rather than
24 really rather messing up the directory/file structure just for the
25 Windows kernel platform, I've instead arranged it that these batch
26 files do the necessary work so that "build" will work.
28 The batch files are idempotent; you can run them as often as you
29 like, in any order, at any time (before or after builds), and they'll
30 do the right thing.
32 Linux
33 =====
34 Use GNUmake to run "makefile.linux". Targets are "arrel", "ardbg",
35 "sorel", "sodbg" and "clean". You need to clean between switching
36 targets.