Skip to content

Commit 4f467c3

Browse files
committed
Win32: [DOC] Update about program name configurations
1 parent a3bfddf commit 4f467c3

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/windows.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,15 @@ make
108108
You can also specify the install directory.
109109
For example, run `configure --prefix=<install_directory>`
110110
Default of the install directory is `/usr` .
111-
The default _PLATFORM_ is `i386-mswin32_`_MSRTVERSION_ on 32-bit
112-
platforms, or `x64-mswin64_`_MSRTVERSION_ on x64 platforms.
113-
_MSRTVERSION_ is the 2- or 3-digits version of the Microsoft
114-
Runtime Library.
115111
116-
2. Change _RUBY_INSTALL_NAME_ and _RUBY_SO_NAME_ in `Makefile`
117-
if you want to change the name of the executable files.
112+
2. If you want to change the name of the executable files and the DLL
113+
file, you can specify `--program-prefix` and `--program-suffix`,
114+
like `win32\configure.bat --program-suffix=-$(MAJOR)$(MINOR)`.
115+
116+
Also `--install-name` and `--so-name` options affect the whole
117+
name executable files and the DLL file respectively, like
118+
`win32\configure.bat --install-name=$(RUBY_BASE_NAME)-$(MAJOR)$(MINOR)`.
119+
118120
And add _RUBYW_INSTALL_NAME_ to change the name of the
119121
executable without console window if also you want.
120122

0 commit comments

Comments
 (0)