summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-02-02 14:48:39 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-02-02 14:48:44 +0900
commit3474a62033cc13a6b407b519bb25db2fc950aa25 (patch)
tree9845a7474d2db3b7b1baf6def839a14259aeb69f /doc
parent1c5bd01363fad5460768f3a9382687bb9e0992f8 (diff)
downloadruby-3474a62033cc13a6b407b519bb25db2fc950aa25.tar.gz
Mentioned scoop and vcpkg for windows build instruction
Diffstat (limited to 'doc')
-rw-r--r--doc/windows.md25
1 files changed, 20 insertions, 5 deletions
diff --git a/doc/windows.md b/doc/windows.md
index a41200656b..d0f447350e 100644
--- a/doc/windows.md
+++ b/doc/windows.md
@@ -83,7 +83,19 @@ make
* sed
* ruby 2.0 or later
-5. Enable Command Extension of your command line. It's the default behavior
+ You can use [scoop](https://scoop.sh/) to install them like:
+
+ ```
+ scoop install git ruby winflexbison sed patch
+ ```
+
+5. You need to install required libraries using [vcpkg](https://vcpkg.io/) like:
+
+ ```
+ vcpkg --triplet x64-windows install openssl libffi libyaml zlib
+ ```
+
+6. Enable Command Extension of your command line. It's the default behavior
of `cmd.exe`. If you want to enable it explicitly, run `cmd.exe` with
`/E:ON` option.
@@ -105,13 +117,16 @@ make
And add _RUBYW_INSTALL_NAME_ to change the name of the
executable without console window if also you want.
-3. Run `nmake up` if you are building from GIT source.
+3. You need specify vcpkg directory to use `--with-opt-dir`
+ option like `configure --with-opt-dir=C:\vcpkg\installed\x64-windows`
+
+4. Run `nmake up` if you are building from GIT source.
-4. Run `nmake`
+5. Run `nmake`
-5. Run `nmake check`
+6. Run `nmake check`
-6. Run `nmake install`
+7. Run `nmake install`
### Build examples