diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-20 08:37:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-20 08:37:27 (GMT) |
commit | b5cb29e062ac6119ba4ee05bf73f3f0befff7d06 (patch) | |
tree | d2fab459364e638d5b466d6a3e971b51e9921254 /win/README | |
parent | c44efa8c2c21a81bb9065146ef464de6b88e0262 (diff) | |
parent | 32fbdd7795ec7659d02f30c8906395bc70db9e75 (diff) | |
download | tcl-b5cb29e062ac6119ba4ee05bf73f3f0befff7d06.zip tcl-b5cb29e062ac6119ba4ee05bf73f3f0befff7d06.tar.gz tcl-b5cb29e062ac6119ba4ee05bf73f3f0befff7d06.tar.bz2 |
Add instrunctions how to (cross-)compile win32/win64 binaries on Linux, Darwin or Cygwin
Diffstat (limited to 'win/README')
-rw-r--r-- | win/README | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -24,28 +24,28 @@ In order to compile Tcl for Windows, you need the following: or - Linux + MinGW-w64 (any distribution e.g. Ubuntu) - (for either 32-bit or 64-bit executables) + Linux + MinGW-w64 [http://mingw-w64.sourceforge.net/] + (win32 or win64) or Cygwin + MinGW-w64 [http://cygwin.com/install.html] - (for either 32-bit or 64-bit executables) + (win32 or win64) or Darwin + MinGW-w64 [http://mingw-w64.sourceforge.net/] - (for either 32-bit or 64-bit executables) + (win32 or win64) or Msys + MinGW-w64 [http://mingw-w64.sourceforge.net/] - (for either 32-bit or 64-bit executables) + (win32 or win64) or - Msys + Mingw [http://www.mingw.org/download.shtml] - (32-bit executables only) + Msys + MinGW [http://www.mingw.org/download.shtml] + (win32 only) In practice, this release is built with Visual C++ 6.0 and the TEA @@ -67,20 +67,20 @@ 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 +the --enable-64bit option. 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/] +the "mingw64-i686-gcc-core" package is what you need. For Linux, Darwin +and Msys, you can download a suitable win32 or win64 compiler 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 structure. -Note that in order to run tclsh86.exe, you must ensure that tcl86.dll is on -your path, in the system directory, or in the directory containing +Note that in order to run tclsh85.exe, you must ensure that tcl85.dll is +on your path, in the system directory, or in the directory containing tclsh86.exe. Note: Tcl no longer provides support for Win32s. |