summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-04-10 17:39:56 +0900
committerNobuyoshi Nakada <[email protected]>2025-04-10 17:39:56 +0900
commit8003a06854fed5e46d20ed310488294b96537da8 (patch)
treed8be3fe2c81298d8487220e5f2471058ae4bbe8d /doc
parent08ce6268ee1690f003af40b9357272d43e990d75 (diff)
[DOC] Use slashes in mingw confiure examples
To show that mingw `sh` expects forward slashes as path separators, not backslashes, configure in another directory than the source directory.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13092
Diffstat (limited to 'doc')
-rw-r--r--doc/windows.md32
1 files changed, 17 insertions, 15 deletions
diff --git a/doc/windows.md b/doc/windows.md
index 2fb8ed6630..34a4a15f3d 100644
--- a/doc/windows.md
+++ b/doc/windows.md
@@ -21,14 +21,16 @@ ridk enable ucrt64
pacman -S --needed %MINGW_PACKAGE_PREFIX%-openssl %MINGW_PACKAGE_PREFIX%-libyaml %MINGW_PACKAGE_PREFIX%-libffi
-cd c:\
-mkdir work
-cd work
-git clone https://github.com/ruby/ruby
-
-cd c:\work\ruby
-sh autogen.sh
-sh configure -C --disable-install-doc
+mkdir c:\work\ruby
+cd /d c:\work\ruby
+
+git clone https://github.com/ruby/ruby src
+
+sh ./src/autogen.sh
+
+mkdir build
+cd build
+sh ../src/configure -C --disable-install-doc
make
```
@@ -40,14 +42,14 @@ bash
pacman -S --needed $MINGW_PACKAGE_PREFIX-openssl $MINGW_PACKAGE_PREFIX-libyaml $MINGW_PACKAGE_PREFIX-libffi
-cd /c/
-mkdir work
-cd work
-git clone https://github.com/ruby/ruby
-cd ruby
+mkdir /c/work/ruby
+cd /c/work/ruby
+
+git clone https://github.com/ruby/ruby src
-./autogen.sh
-./configure -C --disable-install-doc
+./src/autogen.sh
+cd build
+../src/configure -C --disable-install-doc
make
```