xwin icon indicating copy to clipboard operation
xwin copied to clipboard

option to download compiler

Open 3052 opened this issue 2 years ago • 2 comments

I think the current invocations only download libraries and/or headers, it would be nice if an option was available to also download the Microsoft compiler. this would obviate the need for users to have to also install the Zig C compiler or similar

3052 avatar Nov 02 '23 22:11 3052

The purpose of this tool is not to replace Microsoft's bloated installer, only to get the minimal things needed to seamlessly cross-compile and link a Windows executable. I don't know if it's possible to get just the compiler and linker and actually have it function considering Microsoft has a tool specifically built just to find where vs is.

I guess if it can be done in a way that doesn't add an undue amount of code/complexity to this project I'd accept a PR, but have zero intention of ever doing this work myself.

Jake-Shadle avatar Nov 02 '23 23:11 Jake-Shadle

according to the author, this downloads the compiler as well:

https://github.com/mstorsjo/msvc-wine/blob/master/vsdownload.py

3052 avatar Nov 04 '23 17:11 3052