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:
- (Proof of Concept) Ruby 3.x Windows build script with minimal dependencies on DLLs
- (Proof of Concept) A build script for native extension that uses ruby.exe exports ([line number 4 on the diagram])(#42 (comment))
- tamatebako/dwarfs#23
- tamatebako/libdwarfs#96
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.
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,
I will draft it today
tamatebako/tebako.org#29