]> pd.if.org Git - liblfds/blob - liblfds/liblfds6.1.1/liblfds611/building.txt
Initial import (all versions, including the new 7.1.0)
[liblfds] / liblfds / liblfds6.1.1 / liblfds611 / building.txt
1 building liblfds\r
2 ================\r
3 \r
4 Windows (user-mode)\r
5 ===================\r
6 1. Use Microsoft Visual Studio 2008 or Visual C++ 2008 Express Edition (or\r
7    later versions) to load "liblfds.sln".  The "Win32" platform is x86,\r
8    the "x64" platform is x64.\r
9 \r
10 2. Use Microsoft Windows SDK and GNUmake to run makefile.windows (obviously\r
11    you'll need to have run setenv.bat or the appropriate vcvars*.bat first;\r
12    you can build for x64/64-bit and x86/32-bit - just run the correct batch\r
13    file).\r
14 \r
15    Targets are "librel", "libdbg", "dllrel", "dlldbg" and "clean".  You need\r
16    to clean between switching targets.\r
17 \r
18 Windows (kernel)\r
19 ================\r
20 Use the Windows Driver Kit "build" command.  Prior to running "build",\r
21 if you wish to build a static library, run the batch file\r
22 "runme_before_win_kernel_static_lib_build.bat"; if you wish to\r
23 build a dynamic library, instead run "runme_before_win_kernel_dynamic_lib_build.bat".\r
24 \r
25 The Windows kernel build system is rather limited and rather than\r
26 really rather messing up the directory/file structure just for the\r
27 Windows kernel platform, I've instead arranged it that these batch\r
28 files do the necessary work so that "build" will work.\r
29 \r
30 The batch files are idempotent; you can run them as often as you\r
31 like, in any order, at any time (before or after builds), and they'll\r
32 do the right thing.  You need to clean between switching targets.\r
33 \r
34 Linux\r
35 =====\r
36 Use GNUmake to run "makefile.linux".  Targets are "arrel", "ardbg",\r
37 "sorel", "sodbg" and "clean".  You need to clean between switching\r
38 targets.\r
39 \r
40 \r