tamatebako/tebako

Implement support for Ruby 3.1 using native Windows build of dwarfs

Closed this issue · 4 comments

Since the previos attempt to build Windows version of tebako failed on the very late stages I belive we need to start with prototyping:

UPD
(Proof of Concept) Ruby 3.x Windows build script with minimal dependencies on DLLs

A script that builds Ruby using native toolchain with minimal dependencies
This option is not supported so some patching is required although very limited.

I won't merge this code for now because I am not sure if a simplified approcach (without cmake) can be easily adopted.

windows_setup.zip

UPD
(Proof of Concept) A build script for native extension that uses ruby.exe exports

With Windows setup as attached to the previous comment I was able to generate import library pointing to ruby.exe itself instead of ruby dll; and use this library to build native extension.

It seems to be working,

Thank you @maxirmx ! Looks like it's time to announce it on the blog!!

I will draft it today
tamatebako/tebako.org#29