[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:
parent
08ce6268ee
commit
8003a06854
Notes:
git
2025-04-10 09:19:52 +00:00
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user