I’m trying to build my own statically linked ruby.exe using VC++. The
Makefile.sub builds a dynamically linked ruby.exe that depends on
msvcrt-ruby18.dll. I tried modifying the Makefile.sub to link to the
static library msvcrt-ruby18-static.lib, but I still end up with what
seems to be a dynamically linked ruby.exe (since it’s only 4608 bytes,
it has to be dynamically linked).
Does anyone know the recipe ?