Win32: [DOC] Update about program name configurations

This commit is contained in:
Nobuyoshi Nakada 2024-10-28 17:26:10 +09:00
parent a3bfddf96f
commit 4f467c3fbf
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -108,13 +108,15 @@ make
You can also specify the install directory. You can also specify the install directory.
For example, run `configure --prefix=<install_directory>` For example, run `configure --prefix=<install_directory>`
Default of the install directory is `/usr` . Default of the install directory is `/usr` .
The default _PLATFORM_ is `i386-mswin32_`_MSRTVERSION_ on 32-bit
platforms, or `x64-mswin64_`_MSRTVERSION_ on x64 platforms.
_MSRTVERSION_ is the 2- or 3-digits version of the Microsoft
Runtime Library.
2. Change _RUBY_INSTALL_NAME_ and _RUBY_SO_NAME_ in `Makefile` 2. If you want to change the name of the executable files and the DLL
if you want to change the name of the executable files. file, you can specify `--program-prefix` and `--program-suffix`,
like `win32\configure.bat --program-suffix=-$(MAJOR)$(MINOR)`.
Also `--install-name` and `--so-name` options affect the whole
name executable files and the DLL file respectively, like
`win32\configure.bat --install-name=$(RUBY_BASE_NAME)-$(MAJOR)$(MINOR)`.
And add _RUBYW_INSTALL_NAME_ to change the name of the And add _RUBYW_INSTALL_NAME_ to change the name of the
executable without console window if also you want. executable without console window if also you want.