From 18d3a2a589b6273929881e13028b5c87b1bad96f Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Fri, 11 Feb 2022 16:34:26 +0000 Subject: Document how to cross-compile with Visual Studio --- win/README | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/win/README b/win/README index d332557..f4cdde4 100644 --- a/win/README +++ b/win/README @@ -56,6 +56,13 @@ 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 -- cgit v0.12