Fossil SCM
wiki tweaks regarding MinGW build enhancements
Commit
4e93e84e55cf3744029f52add0d9260a6ce3344d
Parent
02bff595e103123…
2 files changed
+4
-3
+5
-2
+4
-3
| --- BUILD.txt | ||
| +++ BUILD.txt | ||
| @@ -10,12 +10,13 @@ | ||
| 10 | 10 | instead use: |
| 11 | 11 | |
| 12 | 12 | make -f Makefile.classic |
| 13 | 13 | |
| 14 | 14 | On a windows box, use one of the Makefiles in the win/ subdirectory, |
| 15 | -according to your compiler and environment. If you have GCC and MSYS | |
| 16 | -installed on your system, then consider: | |
| 15 | +according to your compiler and environment. If you have MinGW or | |
| 16 | +MinGW-w64 installed on your system (Msys or Cygwin, or as | |
| 17 | +cross-compile environment on Linux or Darwin), then consider: | |
| 17 | 18 | |
| 18 | 19 | make -f win/Makefile.mingw |
| 19 | 20 | |
| 20 | 21 | If you have VC++ installed on your system, then consider: |
| 21 | 22 | |
| @@ -41,11 +42,11 @@ | ||
| 41 | 42 | mkdir build |
| 42 | 43 | cd build |
| 43 | 44 | ../configure |
| 44 | 45 | make |
| 45 | 46 | |
| 46 | -This will now keep all generates files seperate from the maintained | |
| 47 | +This will now keep all generates files separate from the maintained | |
| 47 | 48 | source code. |
| 48 | 49 | |
| 49 | 50 | -------------------------------------------------------------------------- |
| 50 | 51 | |
| 51 | 52 | Here are some notes on what is happening behind the scenes: |
| 52 | 53 |
| --- BUILD.txt | |
| +++ BUILD.txt | |
| @@ -10,12 +10,13 @@ | |
| 10 | instead use: |
| 11 | |
| 12 | make -f Makefile.classic |
| 13 | |
| 14 | On a windows box, use one of the Makefiles in the win/ subdirectory, |
| 15 | according to your compiler and environment. If you have GCC and MSYS |
| 16 | installed on your system, then consider: |
| 17 | |
| 18 | make -f win/Makefile.mingw |
| 19 | |
| 20 | If you have VC++ installed on your system, then consider: |
| 21 | |
| @@ -41,11 +42,11 @@ | |
| 41 | mkdir build |
| 42 | cd build |
| 43 | ../configure |
| 44 | make |
| 45 | |
| 46 | This will now keep all generates files seperate from the maintained |
| 47 | source code. |
| 48 | |
| 49 | -------------------------------------------------------------------------- |
| 50 | |
| 51 | Here are some notes on what is happening behind the scenes: |
| 52 |
| --- BUILD.txt | |
| +++ BUILD.txt | |
| @@ -10,12 +10,13 @@ | |
| 10 | instead use: |
| 11 | |
| 12 | make -f Makefile.classic |
| 13 | |
| 14 | On a windows box, use one of the Makefiles in the win/ subdirectory, |
| 15 | according to your compiler and environment. If you have MinGW or |
| 16 | MinGW-w64 installed on your system (Msys or Cygwin, or as |
| 17 | cross-compile environment on Linux or Darwin), then consider: |
| 18 | |
| 19 | make -f win/Makefile.mingw |
| 20 | |
| 21 | If you have VC++ installed on your system, then consider: |
| 22 | |
| @@ -41,11 +42,11 @@ | |
| 42 | mkdir build |
| 43 | cd build |
| 44 | ../configure |
| 45 | make |
| 46 | |
| 47 | This will now keep all generates files separate from the maintained |
| 48 | source code. |
| 49 | |
| 50 | -------------------------------------------------------------------------- |
| 51 | |
| 52 | Here are some notes on what is happening behind the scenes: |
| 53 |
+5
-2
| --- www/build.wiki | ||
| +++ www/build.wiki | ||
| @@ -90,12 +90,15 @@ | ||
| 90 | 90 | |
| 91 | 91 | <li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you |
| 92 | 92 | can also use: <b>make -f Makefile.classic</b>. You may want to make minor |
| 93 | 93 | edits to Makefile.classic to configure the build for your system. |
| 94 | 94 | |
| 95 | -<li><p><i>Msys/MinGW</i> → Use the | |
| 96 | -mingw makefile: "<b>make -f win/Makefile.mingw</b>" | |
| 95 | +<li><p><i>MinGW/MinGW-w64</i> → Use the mingw makefile: | |
| 96 | +"<b>make -f win/Makefile.mingw</b>". On a Windows box you will | |
| 97 | +need either Cygwin or Msys as build environment. On Cygwin, Linux | |
| 98 | +or Darwin you may want to make minor edits to win/Makefile.mingw | |
| 99 | +to configure the cross-compile environment. | |
| 97 | 100 | |
| 98 | 101 | <li><p><i>VC++</i> → Use the msc makefile. First |
| 99 | 102 | change to the "win/" subdirectory ("<b>cd win</b>") then run |
| 100 | 103 | "<b>nmake /f Makefile.msc</b>". |
| 101 | 104 | </ol> |
| 102 | 105 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -90,12 +90,15 @@ | |
| 90 | |
| 91 | <li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you |
| 92 | can also use: <b>make -f Makefile.classic</b>. You may want to make minor |
| 93 | edits to Makefile.classic to configure the build for your system. |
| 94 | |
| 95 | <li><p><i>Msys/MinGW</i> → Use the |
| 96 | mingw makefile: "<b>make -f win/Makefile.mingw</b>" |
| 97 | |
| 98 | <li><p><i>VC++</i> → Use the msc makefile. First |
| 99 | change to the "win/" subdirectory ("<b>cd win</b>") then run |
| 100 | "<b>nmake /f Makefile.msc</b>". |
| 101 | </ol> |
| 102 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -90,12 +90,15 @@ | |
| 90 | |
| 91 | <li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you |
| 92 | can also use: <b>make -f Makefile.classic</b>. You may want to make minor |
| 93 | edits to Makefile.classic to configure the build for your system. |
| 94 | |
| 95 | <li><p><i>MinGW/MinGW-w64</i> → Use the mingw makefile: |
| 96 | "<b>make -f win/Makefile.mingw</b>". On a Windows box you will |
| 97 | need either Cygwin or Msys as build environment. On Cygwin, Linux |
| 98 | or Darwin you may want to make minor edits to win/Makefile.mingw |
| 99 | to configure the cross-compile environment. |
| 100 | |
| 101 | <li><p><i>VC++</i> → Use the msc makefile. First |
| 102 | change to the "win/" subdirectory ("<b>cd win</b>") then run |
| 103 | "<b>nmake /f Makefile.msc</b>". |
| 104 | </ol> |
| 105 |