Fossil SCM

Added some information on how to build on Windows

Arjen Markus 2011-04-18 10:04 arjen-doc-updates
Commit 963a38d5a70817d0271cfef7bd49b4e8368d2fb5
1 file changed +10 -3
+10 -3
--- BUILD.txt
+++ BUILD.txt
@@ -5,11 +5,18 @@
55
make
66
77
On a windows box, use one of the Makefiles in the win/ subdirectory,
88
according to your compiler and environment. For example:
99
10
- make -f win/Makefile.w32
10
+ make -f win/Makefile.mingw
11
+
12
+Note:
13
+Some of the Makefiles require that you build in the src directory,
14
+rather than the toplevel directory. These include: Makefile.msc,
15
+Makefile.dmc and Makefile.PellesCGMake.
16
+
17
+Fossil requires the zlib library as its only external dependency.
1118
1219
If you have trouble, or you want to do something fancy, just look at
1320
top level makefile. There are 6 configuration options that are all well
1421
commented. Instead of editing the Makefile, consider copying the Makefile
1522
to an alternative name such as "GNUMakefile", "BSDMakefile", or "makefile"
@@ -26,11 +33,11 @@
2633
2734
SRCDIR=../src
2835
2936
3. type: "make"
3037
31
-This will now keep all generates files seperate from the maintained
38
+This will now keep all generates files separate from the maintained
3239
source code.
3340
3441
--------------------------------------------------------------------------
3542
3643
Here are some notes on what is happening behind the scenes:
@@ -41,15 +48,15 @@
4148
Do not edit src/main.mk directly. Update src/makemake.tcl and
4249
then rerun it.
4350
4451
* The *.h header files are automatically generated using a program
4552
called "makeheaders". Source code to the makeheaders program is
46
- found in src/makeheaders.c. Documentation is found in
53
+ found in src/makeheaders.c. Documentation is found in
4754
src/makeheaders.html.
4855
4956
* Most *.c source files are preprocessed using a program called
5057
"translate". The sources to translate are found in src/translate.c.
5158
A header comment in src/translate.c explains in detail what it does.
5259
5360
* The src/mkindex.c program generates some C code that implements
5461
static lookup tables. See the header comment in the source code
5562
for details on what it does.
5663
--- BUILD.txt
+++ BUILD.txt
@@ -5,11 +5,18 @@
5 make
6
7 On a windows box, use one of the Makefiles in the win/ subdirectory,
8 according to your compiler and environment. For example:
9
10 make -f win/Makefile.w32
 
 
 
 
 
 
 
11
12 If you have trouble, or you want to do something fancy, just look at
13 top level makefile. There are 6 configuration options that are all well
14 commented. Instead of editing the Makefile, consider copying the Makefile
15 to an alternative name such as "GNUMakefile", "BSDMakefile", or "makefile"
@@ -26,11 +33,11 @@
26
27 SRCDIR=../src
28
29 3. type: "make"
30
31 This will now keep all generates files seperate from the maintained
32 source code.
33
34 --------------------------------------------------------------------------
35
36 Here are some notes on what is happening behind the scenes:
@@ -41,15 +48,15 @@
41 Do not edit src/main.mk directly. Update src/makemake.tcl and
42 then rerun it.
43
44 * The *.h header files are automatically generated using a program
45 called "makeheaders". Source code to the makeheaders program is
46 found in src/makeheaders.c. Documentation is found in
47 src/makeheaders.html.
48
49 * Most *.c source files are preprocessed using a program called
50 "translate". The sources to translate are found in src/translate.c.
51 A header comment in src/translate.c explains in detail what it does.
52
53 * The src/mkindex.c program generates some C code that implements
54 static lookup tables. See the header comment in the source code
55 for details on what it does.
56
--- BUILD.txt
+++ BUILD.txt
@@ -5,11 +5,18 @@
5 make
6
7 On a windows box, use one of the Makefiles in the win/ subdirectory,
8 according to your compiler and environment. For example:
9
10 make -f win/Makefile.mingw
11
12 Note:
13 Some of the Makefiles require that you build in the src directory,
14 rather than the toplevel directory. These include: Makefile.msc,
15 Makefile.dmc and Makefile.PellesCGMake.
16
17 Fossil requires the zlib library as its only external dependency.
18
19 If you have trouble, or you want to do something fancy, just look at
20 top level makefile. There are 6 configuration options that are all well
21 commented. Instead of editing the Makefile, consider copying the Makefile
22 to an alternative name such as "GNUMakefile", "BSDMakefile", or "makefile"
@@ -26,11 +33,11 @@
33
34 SRCDIR=../src
35
36 3. type: "make"
37
38 This will now keep all generates files separate from the maintained
39 source code.
40
41 --------------------------------------------------------------------------
42
43 Here are some notes on what is happening behind the scenes:
@@ -41,15 +48,15 @@
48 Do not edit src/main.mk directly. Update src/makemake.tcl and
49 then rerun it.
50
51 * The *.h header files are automatically generated using a program
52 called "makeheaders". Source code to the makeheaders program is
53 found in src/makeheaders.c. Documentation is found in
54 src/makeheaders.html.
55
56 * Most *.c source files are preprocessed using a program called
57 "translate". The sources to translate are found in src/translate.c.
58 A header comment in src/translate.c explains in detail what it does.
59
60 * The src/mkindex.c program generates some C code that implements
61 static lookup tables. See the header comment in the source code
62 for details on what it does.
63

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button