mstorsjo / llvm-mingw

An LLVM/Clang/LLD based mingw-w64 toolchain
Other
1.98k stars 188 forks source link

Request UCRT link in the README.md #465

Open Min1123 opened 3 weeks ago

Min1123 commented 3 weeks ago

I've been working on a small project with a Surface RT recently, and this was restored without going online at all. I tracked down this project (awesome stuff, thanks), but I was unable to initially use it, since my machine had never seen Windows Update, and thus did not have UCRT. I finally found an MS Link to a UCRT for many Windows versions, including the 8.1 on my Surface RT. I think it would be a nice gesture to put in the README.md that if there are DLL errors that prevent the executables from running, installing the updates from the UCRT MSUs from this link may quickly fix the problem.

https://www.microsoft.com/en-us/download/details.aspx?id=50410

mstorsjo commented 2 weeks ago

Curiously - if you're using this on a Surface RT, do I get it correctly that it's an arm32 device? That's nice to hear that there's still someone out there using that, and that we don't provide the armv7 target here entirely in vain :-)

I guess such a link in the readme is reasonable, even for x86 based devices that run windows versions below 10 - I'll try to see how and where I can fold such a reference in, but it may take a little while before I get to it.

Min1123 commented 2 weeks ago

I am, Surface RT with a Tegra 3, and it looks as though it makes everything in THUMB mode as well, thinking it's probably a holdover from the Zune. I need to do more experiments though, I've only built a Hello World console application with your GCC and clang on the device itself so far.

On Tue, Oct 29, 2024 at 11:33 AM Martin Storsjö @.***> wrote:

Curiously - if you're using this on a Surface RT, do I get it correctly that it's an arm32 device? That's nice to hear that there's still someone out there using that, and that we don't provide the armv7 target here entirely in vain :-)

I guess such a link in the readme is reasonable, even for x86 based devices that run windows versions below 10 - I'll try to see how and where I can fold such a reference in, but it may take a little while before I get to it.

— Reply to this email directly, view it on GitHub https://github.com/mstorsjo/llvm-mingw/issues/465#issuecomment-2444627623, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMTDKLWZS6ATFSZ3QNMQR3Z56TFDAVCNFSM6AAAAABQY27ROKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBUGYZDONRSGM . You are receiving this because you authored the thread.Message ID: @.***>

mstorsjo commented 2 weeks ago

I am, Surface RT with a Tegra 3, and it looks as though it makes everything in THUMB mode as well, thinking it's probably a holdover from the Zune. I need to do more experiments though, I've only built a Hello World console application with your GCC and clang on the device itself so far.

Yes, the "arm" modes for modern Windows on ARM on NT, is thumb-only. It explicitly doesn't do any form of interworking between arm and thumb mode - everything is thumb. (As this is new enough to be thumb2, it's usually not an issue.)

wmjb commented 2 weeks ago

i compile applications daily for the surface rt, using your llvm-mingw. you should check out our group on discord. "open rt" here is some of the applications.. https://files.open-rt.party/Software/ and https://files.open-rt.party/Software/dev/ the surface rt is very much used. this repo from someone in our team https://github.com/armdevvel/mxe-SHARED where llvm-mingw is used on linux to cross compile, i prefer to use windows and have a setup where i compile directly on the device. we've ported code blocks ide too, where mingw-llvm is used on the device as a compiler for it. here is the UCRT https://files.open-rt.party/Software/Redistributables/UCRT/