summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-15 14:09:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-15 14:09:11 (GMT)
commitbf79ff2fca084ddd73434bb646d06f73e0f8380e (patch)
treea22e9ac3c6a66e42edbf2ed338877b0a25557e90 /win
parentdff07b745999cb6df94a2fbe5ef2a22a9f7e24f3 (diff)
downloadtcl-bf79ff2fca084ddd73434bb646d06f73e0f8380e.zip
tcl-bf79ff2fca084ddd73434bb646d06f73e0f8380e.tar.gz
tcl-bf79ff2fca084ddd73434bb646d06f73e0f8380e.tar.bz2
update README
Diffstat (limited to 'win')
-rw-r--r--win/README17
1 files changed, 8 insertions, 9 deletions
diff --git a/win/README b/win/README
index f4cdde4..92cb2c6 100644
--- a/win/README
+++ b/win/README
@@ -42,6 +42,11 @@ In order to compile Tcl for Windows, you need the following:
Msys + MinGW-w64 [https://www.mingw-w64.org/]
(win32 or win64)
+ or
+
+ LLVM MinGW [https://github.com/mstorsjo/llvm-mingw/]
+ (win32 or win64, IX86, AMD64 or ARM64)
+
In practice, this release is built with Visual C++ 6.0 and the TEA
Makefile.
@@ -56,21 +61,15 @@ 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 want to Cross-compile with Visual Studio (e.g. for X86 or ARM64
-targets, but running on AMD64), first set up the environment for
-your host machine and compile nmakehlp.exe:
- C:\tcl_source\win\>nmake -f makefile.vc nmakehlp
-Then go to your cross-compile environment and run the nmake
-command again for whatever you want to build.
-
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. Make sure that the x86_64-w64-mingw32
-compiler is present. For Cygwin this compiler can be found in the
+the --enable-64bit (or --enable-64bit=arm64) option. Make sure that
+the x86_64-w64-mingw32 (or aarch64-w64-mingw32) compiler is present.
+For Cygwin the x86_64 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. For Linux, Darwin