summaryrefslogtreecommitdiffstats
path: root/win/README
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-30 12:28:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-30 12:28:07 (GMT)
commit258e927279e1a28d29a07a1c07ebee9a99890e69 (patch)
tree11e210aa0e7919af5650363fb760a2232fb46151 /win/README
parent3c562ea4258e410e880449ac6b65936c62d0cc48 (diff)
parent59c52ee2fb7fcc819a92861101a8dd4b77c9f606 (diff)
downloadtcl-258e927279e1a28d29a07a1c07ebee9a99890e69.zip
tcl-258e927279e1a28d29a07a1c07ebee9a99890e69.tar.gz
tcl-258e927279e1a28d29a07a1c07ebee9a99890e69.tar.bz2
[Bug 3511806] Compiler checks too early
(autoconf still to be run!)
Diffstat (limited to 'win/README')
-rw-r--r--win/README43
1 files changed, 34 insertions, 9 deletions
diff --git a/win/README b/win/README
index d1a4289..98ba19f 100644
--- a/win/README
+++ b/win/README
@@ -24,11 +24,29 @@ In order to compile Tcl for Windows, you need the following:
or
- Msys + Mingw [http://www.mingw.org/download.shtml]
+ Linux + MinGW-w64 (any distribution e.g. Ubuntu)
+ (for either 32-bit or 64-bit executables)
+
+ or
+
+ Cygwin + MinGW-w64 [http://cygwin.com/install.html]
+ (for either 32-bit or 64-bit executables)
+
+ or
+
+ Darwin + MinGW-w64 [http://mingw-w64.sourceforge.net/]
+ (for either 32-bit or 64-bit executables)
+ or
+
+ Msys + MinGW-w64 [http://mingw-w64.sourceforge.net/]
+ (for either 32-bit or 64-bit executables)
+
+ or
+
+ Msys + Mingw [http://www.mingw.org/download.shtml]
+ (32-bit executables only)
-Please note that building under Cygwin is NOT supported,
-do not file a bug report about building under Cygwin.
In practice, this release is built with Visual C++ 6.0 and the TEA
Makefile.
@@ -43,12 +61,19 @@ using it, are in the comments of "makefile.vc". A quick example would be:
There is also a Developer Studio workspace and project file, too, if you
would like to use them.
-If you are building with Msys, you can use the configure script that lives
-in the win subdirectory. The Msys based configure/build process works just
-like the UNIX one, so you will want to refer to ../unix/README for
-available configure options. An error will be generated by the configure
-script if you try to compile Tcl with the Cygwin version of gcc instead of
-the Mingw version. Check your PATH if you get this error.
+If you are building with Linux, Cygwin or Msys, you can use the configure
+script that lives in the win subdirectory. The Linux/Cygwin/Msys based
+configure/build process works just like the UNIX one, so you will want
+to refer to ../unix/README for available configure options.
+
+If you want 64-bit executables (x86_64), you need to configure using
+the --enable-64bit option. Then make sure that the x86_64-w64-mingw32
+compiler is present. For Cygwin this compiler can be found in the
+"mingw64-x86_64-gcc-core" package, which can be installed through
+the normal Cygwin install process. If you only want 32-bit executables,
+the "mingw64-i686-gcc-core" package is what you need. If your Linux
+distribution does not have a MinGW-w64 package, you can download one
+from [https://sourceforge.net/projects/mingw-w64/files/]
Use the Makefile "install" target to install Tcl. It will install it
according to the prefix options you provided in the correct directory