Fossil SCM

add note to WWW-docs about building using MinGW4.0 resulting in non-working binary, as suggested on ML

michai 2015-03-03 09:20 ml-jb-doc-typos
Commit ede82808aeb3ca349aad56bddae82cd5893f29a4
1 file changed +4 -1
+4 -1
--- www/build.wiki
+++ www/build.wiki
@@ -106,16 +106,19 @@
106106
107107
<li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you
108108
can also use: <b>make -f Makefile.classic</b>. You may want to make minor
109109
edits to Makefile.classic to configure the build for your system.
110110
111
-<li><p><i>MinGW/MinGW-w64</i> → Use the mingw makefile:
111
+<li><p><i>MinGW3.x (not 4.0)/MinGW-w64</i> → Use the mingw makefile:
112112
"<b>make -f win/Makefile.mingw</b>". On a Windows box you will
113113
need either Cygwin or Msys as build environment. On Cygwin, Linux
114114
or Darwin you may want to make minor edits to win/Makefile.mingw
115115
to configure the cross-compile environment.
116116
117
+Hint: don't use MinGW-4.0, it will compile but fossil won't work correctly, see
118
+<a href="https://www.fossil-scm.org/index.html/tktview/18cff45a4e210430e24c">https://www.fossil-scm.org/index.html/tktview/18cff45a4e210430e24c</a>.
119
+
117120
<li><p><i>MSVC</i> → Use the MSVC makefile. First
118121
change to the "win/" subdirectory ("<b>cd win</b>") then run
119122
"<b>nmake /f Makefile.msc</b>".<br><br>Alternatively, the batch
120123
file "<b>win\buildmsvc.bat</b>" may be used and it will attempt to
121124
detect and use the latest installed version of MSVC.<br><br>To enable
122125
--- www/build.wiki
+++ www/build.wiki
@@ -106,16 +106,19 @@
106
107 <li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you
108 can also use: <b>make -f Makefile.classic</b>. You may want to make minor
109 edits to Makefile.classic to configure the build for your system.
110
111 <li><p><i>MinGW/MinGW-w64</i> → Use the mingw makefile:
112 "<b>make -f win/Makefile.mingw</b>". On a Windows box you will
113 need either Cygwin or Msys as build environment. On Cygwin, Linux
114 or Darwin you may want to make minor edits to win/Makefile.mingw
115 to configure the cross-compile environment.
116
 
 
 
117 <li><p><i>MSVC</i> → Use the MSVC makefile. First
118 change to the "win/" subdirectory ("<b>cd win</b>") then run
119 "<b>nmake /f Makefile.msc</b>".<br><br>Alternatively, the batch
120 file "<b>win\buildmsvc.bat</b>" may be used and it will attempt to
121 detect and use the latest installed version of MSVC.<br><br>To enable
122
--- www/build.wiki
+++ www/build.wiki
@@ -106,16 +106,19 @@
106
107 <li><p><i>Unix without running "configure"</i> → if you prefer to avoid running configure, you
108 can also use: <b>make -f Makefile.classic</b>. You may want to make minor
109 edits to Makefile.classic to configure the build for your system.
110
111 <li><p><i>MinGW3.x (not 4.0)/MinGW-w64</i> → Use the mingw makefile:
112 "<b>make -f win/Makefile.mingw</b>". On a Windows box you will
113 need either Cygwin or Msys as build environment. On Cygwin, Linux
114 or Darwin you may want to make minor edits to win/Makefile.mingw
115 to configure the cross-compile environment.
116
117 Hint: don't use MinGW-4.0, it will compile but fossil won't work correctly, see
118 <a href="https://www.fossil-scm.org/index.html/tktview/18cff45a4e210430e24c">https://www.fossil-scm.org/index.html/tktview/18cff45a4e210430e24c</a>.
119
120 <li><p><i>MSVC</i> → Use the MSVC makefile. First
121 change to the "win/" subdirectory ("<b>cd win</b>") then run
122 "<b>nmake /f Makefile.msc</b>".<br><br>Alternatively, the batch
123 file "<b>win\buildmsvc.bat</b>" may be used and it will attempt to
124 detect and use the latest installed version of MSVC.<br><br>To enable
125

Keyboard Shortcuts

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