Cross compiling for Windows on ARM

Byron Hawkins 1 Reputation point
2022-05-14T18:09:35.097+00:00

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++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,542 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. David Lowndes 4,711 Reputation points
    2022-05-15T11:19:19.617+00:00

    Microsoft recommend #2 - though x64 not x86.

    0 comments No comments