0

Currently, I am using the command:

clang++ -o hello.exe hello.cpp

Is there any way to set the target platform, for example if I wanted to build targeting x86 or ARM on my x64 computer. In visual studio, you can easily set this under configurations. I am using clang front end and LLVM back end.

vsnm
  • 1
  • https://clang.llvm.org/docs/CrossCompilation.html – bolov Jul 30 '22 at 18:46
  • https://stackoverflow.com/questions/14697614/clang-cross-compiling-for-arm , https://stackoverflow.com/questions/70122891/clang-cross-compile-for-raspberry-pi-3b etc – bolov Jul 30 '22 at 18:47
  • Does this answer your question? [Clang Cross Compiling for ARM?](https://stackoverflow.com/questions/14697614/clang-cross-compiling-for-arm) – silvergasp Aug 01 '22 at 16:35

0 Answers0