question

ByronHawkins-1488 avatar image
0 Votes"
ByronHawkins-1488 asked DavidLowndes-6766 answered

Cross compiling for Windows on ARM

I have a tablet PC with an ARM processor running Windows 10, and I'd like to compile programs for it, but I want to run the compiler on a different machine. Compilers are never available natively for ARM, including Visual Studio, and emulation is super slow. I would especially like to avoid MinGW if at all possible.

  1. Is it possible to run Visual Studio Code on Linux and produce an executable compatible with Windows on ARM?

  2. Would it be simpler to run Visual Studio on Windows (x86) and produce an executable compatible with Windows on ARM?

Thanks in advance for any suggestions!



c++
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DavidLowndes-6766 avatar image
0 Votes"
DavidLowndes-6766 answered

Microsoft recommend #2 - though x64 not x86.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.