Fossil SCM
Added some information on how to build on Windows
Commit
963a38d5a70817d0271cfef7bd49b4e8368d2fb5
Parent
a3ecba52f03cc3b…
1 file changed
+10
-3
+10
-3
| --- BUILD.txt | ||
| +++ BUILD.txt | ||
| @@ -5,11 +5,18 @@ | ||
| 5 | 5 | make |
| 6 | 6 | |
| 7 | 7 | On a windows box, use one of the Makefiles in the win/ subdirectory, |
| 8 | 8 | according to your compiler and environment. For example: |
| 9 | 9 | |
| 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. | |
| 11 | 18 | |
| 12 | 19 | If you have trouble, or you want to do something fancy, just look at |
| 13 | 20 | top level makefile. There are 6 configuration options that are all well |
| 14 | 21 | commented. Instead of editing the Makefile, consider copying the Makefile |
| 15 | 22 | to an alternative name such as "GNUMakefile", "BSDMakefile", or "makefile" |
| @@ -26,11 +33,11 @@ | ||
| 26 | 33 | |
| 27 | 34 | SRCDIR=../src |
| 28 | 35 | |
| 29 | 36 | 3. type: "make" |
| 30 | 37 | |
| 31 | -This will now keep all generates files seperate from the maintained | |
| 38 | +This will now keep all generates files separate from the maintained | |
| 32 | 39 | source code. |
| 33 | 40 | |
| 34 | 41 | -------------------------------------------------------------------------- |
| 35 | 42 | |
| 36 | 43 | Here are some notes on what is happening behind the scenes: |
| @@ -41,15 +48,15 @@ | ||
| 41 | 48 | Do not edit src/main.mk directly. Update src/makemake.tcl and |
| 42 | 49 | then rerun it. |
| 43 | 50 | |
| 44 | 51 | * The *.h header files are automatically generated using a program |
| 45 | 52 | 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 | |
| 47 | 54 | src/makeheaders.html. |
| 48 | 55 | |
| 49 | 56 | * Most *.c source files are preprocessed using a program called |
| 50 | 57 | "translate". The sources to translate are found in src/translate.c. |
| 51 | 58 | A header comment in src/translate.c explains in detail what it does. |
| 52 | 59 | |
| 53 | 60 | * The src/mkindex.c program generates some C code that implements |
| 54 | 61 | static lookup tables. See the header comment in the source code |
| 55 | 62 | for details on what it does. |
| 56 | 63 |
| --- 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 |