Open ariccio opened 2 years ago
Hi @ariccio , RubyInstaller2 is built via msys2
, and it uses
UCRT64
for 64-bitMINGW32
for 32-bitThey both use gcc
toolchain. You can compile using clang
toolchain (See the link below).
But I don't know if clang
compiled binaries will include the microsoft-tooling compatible debug symbols, just for your information.
See https://www.msys2.org/docs/environments/ , they seem don't support using MSVC
compiler.
What problems are you experiencing?
The version of ruby installed with ruby installer does not include microsoft-tooling compatible debug symbols.
I'm not entirely familiar with the Ruby build infrastructure on windows, but it seems that the version of ruby installed with rubyinstaller2 is built with GCC? If so, and there's no option to build with MSVC, I think you can close this issue since it doesn't seem like gcc has any support for the necessary debug symbol generation. If there is an option to build with MSVC, I don't see any documentation (I don't even know how that would interact with MSYS2?!?).
Steps to reproduce
Try to profile or debug the interpreter on windows, see no symbol information.
What's the output from
ridk version
?