[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.
This commit is contained in:
Nobuyoshi Nakada 2025-04-10 17:39:56 +09:00
parent 08ce6268ee
commit 8003a06854
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2025-04-10 09:19:52 +00:00

View File

@ -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
mkdir c:\work\ruby
cd /d c:\work\ruby
cd c:\work\ruby
sh autogen.sh
sh configure -C --disable-install-doc
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
./autogen.sh
./configure -C --disable-install-doc
git clone https://github.com/ruby/ruby src
./src/autogen.sh
cd build
../src/configure -C --disable-install-doc
make
```