C++ Clang:ARM交叉编译C++;带螺纹

C++ Clang:ARM交叉编译C++;带螺纹,c++,clang,cross-compiling,clang++,C++,Clang,Cross Compiling,Clang++,我想编译这个简单的代码,在ARM架构(Android智能手机)上运行: 但是,交叉编译语句返回一个错误: # clang++ test.cpp -std=c++11 -pthread -target armv7a-none-linux-eabi test.cpp:1:10: fatal error: 'iostream' file not found #include <iostream> ^ 1 error generated. #clang++test.cpp

我想编译这个简单的代码,在ARM架构(Android智能手机)上运行:

但是,交叉编译语句返回一个错误:

# clang++ test.cpp -std=c++11 -pthread -target armv7a-none-linux-eabi
test.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^
1 error generated.
#clang++test.cpp-std=c++11-pthread-target armv7a none linux eabi
test.cpp:1:10:致命错误:“找不到iostream”文件
#包括
^
生成1个错误。

有人能帮我一下或给我一些提示吗?

您是否为ARM安装了合适的工具链?请参阅:您是否为ARM安装了适当的工具链?见:
# clang++ test.cpp -std=c++11 -pthread
# clang++ test.cpp -std=c++11 -pthread -target armv7a-none-linux-eabi
test.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^
1 error generated.