From: daz Date: 2004-05-07T08:28:58+09:00 Subject: Re: miniruby.exe & statically linked ruby.exe (Windows) Phil Tomson wrote: > > > >If you want to bundle statically linked extensions, I think you just > >uncomment the corresponding line in ext\Setup before building. > > That's true on Linux, I suppose it probably also works that way for the > Windows build as well. > Haven't tried, but two of the entries are Win32API & win32ole, so I thought I was on safe ground there. > > Why is it that the makefile creates both miniruby.exe(statically linked) > and ruby.exe (dynamically linked) that are essentially equivilent? > > Phil I assume it's to prevent the risk of crashes during the build process which uses Ruby scripts to build itself. Imagine what could happen if it were to use ruby.exe (which is calling functions in the dll) while a new dll is being built. I should think Windows would barff, at least. With miniruby.exe, there's a self-contained ruby available with which to run build scripts. It may or may not be the same version as the one that's being built but that shouldn't matter. daz