ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? U:RDoc::TopLevel[ iI"windows.md:ETcRDoc::Parser::Markdowno:RDoc::Markup::Document: @parts[!S:RDoc::Markup::Heading: leveli: textI" Windows;To:RDoc::Markup::Paragraph;[I"cmd like:;To:RDoc::Markup::Verbatim;[I"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 cd c:\work\ruby sh autogen.sh sh configure -C --disable-install-doc make ;T: @format: batcho; ;[I"(or in MSYS2 bash like:;To;;[I"ridk enable ucrt64 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 ./autogen.sh ./configure -C --disable-install-doc make ;T;: bashS; ; i; I"#Building Ruby using Visual C++;TS; ; i; I"Requirement;To; ;: NUMBER;[ o;;0;[o; ;[I"-Windows 10/Windows Server 2016 or later.;Fo;;0;[o; ;[I"%Visual C++ 14.0 (2015) or later.;Fo; ;[I"J*Note* if you want to build x64 version, use native compiler for x64.;To;;0;[o; ;[I"Please set environment variable INCLUDE, LIB, PATH to run required commands properly from the command line. These are set properly by vcvarall*.bat usually.;Fo; ;[I"6*Note* building ruby requires following commands.;To; ;;;[ o;;0;[o; ;[I"nmake;To;;0;[o; ;[I"cl;To;;0;[o; ;[I"ml;To;;0;[o; ;[I"lib;To;;0;[o; ;[I"dumpbin;To;;0;[ o; ;[I"KIf you want to build from GIT source, following commands are required.;Fo; ;;;[o;;0;[o; ;[I"git;To;;0;[o; ;[I"sed;To;;0;[o; ;[I"#ruby 3.0 or later;To; ;[I"AYou can use {scoop}[https://scoop.sh/] to install them like:;Fo;;[I" scoop install git sed ruby ;F;;o;;0;[o; ;[I"rYou need to install required libraries using {vcpkg}[https://vcpkg.io/] on directory of ruby repository like:;Fo;;[I")vcpkg --triplet x64-windows install ;F;;o;;0;[o; ;[I"Enable Command Extension of your command line. It's the default behavior of cmd.exe. If you want to enable it explicitly, run cmd.exe with /E:ON option.;FS; ; i; I"How to compile and install;To; ;;;[ o;;0;[o; ;[I"^Execute win32\configure.bat on your build directory. You can specify the target platform as an argument. For example, run configure --target=i686-mswin32. You can also specify the install directory. For example, run configure --prefix=. Default of the install directory is /usr .;Fo;;0;[o; ;[I"If you want to append to the executable and DLL file names, specify --program-prefix and --program-suffix, like win32\configure.bat --program-suffix=-$(MAJOR)$(MINOR).;Fo; ;[I"Also, the --install-name and --so-name options specify the exact base names of the executable and DLL files, respectively, like win32\configure.bat --install-name=$(RUBY_BASE_NAME)-$(MAJOR)$(MINOR).;Fo; ;[I" By default, the name for the executable without a console window is generated from the RUBY_INSTALL_NAME specified as above by replacing ruby with rubyw. If you want to make it different more, modify RUBYW_INSTALL_NAME directly in the Makefile.;Fo;;0;[o; ;[I"You need specify vcpkg directory to use --with-opt-dir option like win32\configure.bat --with-opt-dir=C:/vcpkg_installed/x64-windows;Fo;;0;[o; ;[I"CRun nmake up if you are building from GIT source.;Fo;;0;[o; ;[I"Run nmake;Fo;;0;[o; ;[I"Run nmake prepare-vcpkg with administrator privilege if you need to copy vcpkg installed libraries like libssl-3-x64.dll to the build directory.;Fo;;0;[o; ;[I"!Run nmake check;Fo;;0;[o; ;[I"#Run nmake install;FS; ; i; I"Build examples;To; ;;;[ o;;0;[o; ;[I"(Build on the ruby source directory.;Fo;;[I"jruby source directory: C:\ruby build directory: C:\ruby install directory: C:\usr\local ;F;0o;;[I"UC: cd \ruby win32\configure --prefix=/usr/local nmake nmake check nmake install ;F;;o;;0;[o; ;[I"DBuild on the relative directory from the ruby source directory.;Fo;;[I"rruby source directory: C:\ruby build directory: C:\ruby\mswin32 install directory: C:\usr\local ;F;0o;;[I"qC: cd \ruby mkdir mswin32 cd mswin32 ..\win32\configure --prefix=/usr/local nmake nmake check nmake install ;F;;o;;0;[o; ;[I""Build on the different drive.;Fo;;[I"truby source directory: C:\src\ruby build directory: D:\build\ruby install directory: C:\usr\local ;F;0o;;[I"tD: cd D:\build\ruby C:\src\ruby\win32\configure --prefix=/usr/local nmake nmake check nmake install DESTDIR=C: ;F;;o;;0;[o; ;[I":Build x64 version (requires native x64 VC++ compiler);Fo;;[I"jruby source directory: C:\ruby build directory: C:\ruby install directory: C:\usr\local ;F;0o;;[I"jC: cd \ruby win32\configure --prefix=/usr/local --target=x64-mswin64 nmake nmake check nmake install ;F;;S; ; i; I" Bugs;To; ;[I"You can *NOT* use a path name that contains any white space characters as the ruby source directory, this restriction comes from the behavior of !INCLUDE directives of NMAKE.;To; ;[I"You can build ruby in any directory including the source directory, except win32 directory in the source directory. This is restriction originating in the path search method of NMAKE.;TS; ; i; I"Dependency management;To; ;[I"SRuby uses {vcpkg}[https://vcpkg.io/] to manage dependencies on mswin platform.;To; ;[I"BYou can update and install it under the build directory like:;To;;[I"tnmake update-vcpkg # Update baseline version of vcpkg nmake install-vcpkg # Install vcpkg from build directory ;T;;S; ; i; I" Icons;To; ;[I"Any icon files(*.ico) in the build directory, directories specified with _icondirs_ make variable and win32 directory under the ruby source directory will be included in DLL or executable files, according to their base names. $(RUBY_INSTALL_NAME).ico or ruby.ico --> $(RUBY_INSTALL_NAME).exe $(RUBYW_INSTALL_NAME).ico or rubyw.ico --> $(RUBYW_INSTALL_NAME).exe the others --> $(RUBY_SO_NAME).dll;To; ;[I"Although no icons are distributed with the ruby source, you can use anything you like. You will be able to find many images by search engines. For example, followings are made from {Ruby logo kit}[https://cache.ruby-lang.org/pub/misc/logo/ruby-logo-kit.zip]:;To; ;;;[o;;0;[o; ;[I"PSmall {favicon}[https://www.ruby-lang.org/favicon.ico] in the official site;Fo;;0;[o; ;[I"|{vit-ruby.ico}[http://ruby.morphball.net/vit-ruby-ico_en.html] or {icon itself}[http://ruby.morphball.net/icon/vit-ruby.ico];T: @file@:0@omit_headings_from_table_of_contents_below0