diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-11 10:49:26 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-11 10:49:26 +0900 |
| commit | af69421c91abc49390e8741870fac63513efbc0b (patch) | |
| tree | e8b97732c8c0bbfae02110e752e766a899be533f | |
| parent | f13e86a70edffe9af9b8bca15a0a9652cf143386 (diff) | |
Added instruction for MSYS2 without RubyInstaller-Devkit
| -rw-r--r-- | doc/windows.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/windows.md b/doc/windows.md index 34a4a15f3d..5f2dda2252 100644 --- a/doc/windows.md +++ b/doc/windows.md @@ -53,6 +53,13 @@ cd build make ``` +If you have other MSYS2 environment via other package manager like `scoop`, you need to specify `$MINGW_PACKAGE_PREFIX` is `mingw-w64-ucrt-x86_64`. +And you need to add `--with-opt-dir` option to `configure` command like: + +```batch +sh ../../ruby/configure -C --disable-install-doc --with-opt-dir=C:\Users\username\scoop\apps\msys2\current\ucrt64 +``` + [RubyInstaller-Devkit]: https://rubyinstaller.org/ [git-for-windows]: https://gitforwindows.org/ [VSCode]: https://code.visualstudio.com/ |
