xwin icon indicating copy to clipboard operation
xwin copied to clipboard

[Feature Request] Download debug vc dlls

Open apple1417 opened this issue 1 year ago • 1 comments

Firstly thanks for this project, it solves the exact issue I had, x86_64-pc-windows-gnu has a different c++ exception handling abi to x86_64-pc-windows-msvc.

I am actively developing for a windows target, so I want to be able to debug my code. Downloading with --include-debug-libs --include-debug-symbols makes compiling a debug build work perfectly. The issue is, this build links against vcruntime140d.dll + related, dlls which wine obviously doesn't have. It would be nice if there was an option to also download these dlls to a folder somewhere, so you don't need to grab them from a full VS install. I don't think there's any reasonable generic way to install them, better to just leave copying them to the user.

apple1417 avatar May 11 '23 11:05 apple1417

I'd accept a PR for this, but won't do one myself, at least in the foreseeable future. I think the easiest would just be a new option --debug-dylibs <path> that would just dump the debug DLLs into the specified path, separate from wherever the rest of the contents are being placed, since this project is primarily focused on getting the headers/import libs needed for compilation, not runtime.

Jake-Shadle avatar May 11 '23 11:05 Jake-Shadle