]> pd.if.org Git - liblfds/blob - liblfds/liblfds6.0.0/liblfds600/building.txt
Initial import (all versions, including the new 7.1.0)
[liblfds] / liblfds / liblfds6.0.0 / liblfds600 / building.txt
1 building liblfds
2 ================
3
4 Windows (user-mode)
5 ===================
6 1. Use Microsoft Visual Studio 2008 or Visual C++ 2008 Express Edition
7    to load "liblfds.sln".
8
9 2. Use Microsoft Windows SDK and GNUmake to run makefile.windows (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).
12
13    Targets are "librel", "libdbg", "dllrel", "dlldbg" and "clean".  You need
14    to clean between switching targets.
15
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".
22
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.
27
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.
31
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.
37
38