File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,31 @@ sh ../../ruby/configure -C --disable-install-doc --with-opt-dir=C:\Users\usernam
8585 ` win32\install-buildtools.cmd ` is a batch file to install the
8686 minimum requirements excluding the IDE etc.
8787
88- 3 . Please set environment variable ` INCLUDE ` , ` LIB ` , ` PATH `
89- to run required commands properly from the command line.
90- These are set properly by ` vcvarall*.bat ` usually. You can run
88+ 3 . Please set environment variable ` INCLUDE ` , ` LIB ` , ` PATH ` to run
89+ required commands properly from the command line. These are set
90+ properly by ` vsdevcmd.bat ` or ` vcvarall*.bat ` usually. You can run
9191 the following command to set them in your command line.
9292
93+ To native build:
94+
9395 ```
9496 cmd /k win32\vssetup.cmd
9597 ```
9698
99+ To cross build arm64 binary:
100+
101+ ```
102+ cmd /k win32\vssetup.cmd -arch arm64
103+ ```
104+
105+ To cross build x64 binary:
106+
107+ ```
108+ cmd /k win32\vssetup.cmd -arch x64
109+ ```
110+
111+ See `win32\vssetup.cmd -help` for other command line options.
112+
97113 **Note** building ruby requires following commands.
98114
99115 * `nmake`
You can’t perform that action at this time.
0 commit comments