[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 pacman -S --needed %MINGW_PACKAGE_PREFIX%-openssl %MINGW_PACKAGE_PREFIX%-libyaml %MINGW_PACKAGE_PREFIX%-libffi
cd c:\ mkdir c:\work\ruby
mkdir work cd /d c:\work\ruby
cd work
git clone https://github.com/ruby/ruby
cd c:\work\ruby git clone https://github.com/ruby/ruby src
sh autogen.sh
sh configure -C --disable-install-doc sh ./src/autogen.sh
mkdir build
cd build
sh ../src/configure -C --disable-install-doc
make make
``` ```
@ -40,14 +42,14 @@ bash
pacman -S --needed $MINGW_PACKAGE_PREFIX-openssl $MINGW_PACKAGE_PREFIX-libyaml $MINGW_PACKAGE_PREFIX-libffi pacman -S --needed $MINGW_PACKAGE_PREFIX-openssl $MINGW_PACKAGE_PREFIX-libyaml $MINGW_PACKAGE_PREFIX-libffi
cd /c/ mkdir /c/work/ruby
mkdir work cd /c/work/ruby
cd work
git clone https://github.com/ruby/ruby
cd ruby
./autogen.sh git clone https://github.com/ruby/ruby src
./configure -C --disable-install-doc
./src/autogen.sh
cd build
../src/configure -C --disable-install-doc
make make
``` ```