针对 Windows Phone ARM 目标的 Clang 交叉编译 [英] Clang Cross Compiling for Windows Phone ARM target
问题描述
我想使用 Clang 为Windows Phone"ARM 目标编译一个用 C 编写的程序.有人有这方面的经验吗?
I would like to compile a program written in C using Clang for 'Windows Phone' ARM target. Does anyone have experience with it?
什么是更好的方法?
1) 使用 Clang for Windows 和 MinGW 在运行 Windows 8 的主机上构建.Clang for Windows/MinGW 是否默认支持 ARM?如果没有,我需要重新构建 Clang 和 MinGW 吗?
1) Building on a host running Windows 8 using Clang for Windows and MinGW. Does Clang for Windows / MinGW supports ARM by default? If not, I will need to re-build Clang and MinGW?
2) 在 Linux/MAC 主机上构建(ARM 目标是默认的)并使用 Windows Phone 工具链(从哪里可以获得?).
2) Building on a Linux/MAC host (where ARM target comes as default) and using Windows Phone toolchain (where can I get it?).
提前致谢!
推荐答案
clang 中没有Windows Phone ARM 目标"支持.即使你成功编译了一些东西,我怀疑你是否能够链接 &执行二进制文件.
There is no "Windows Phone ARM target" support in clang. Even if you'd succeed to compile something, I doubt you will be able to link & execute the binaries.
这篇关于针对 Windows Phone ARM 目标的 Clang 交叉编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!