[LLVMdev] Is cross-compiling for ARM on x86 with llvm/Clang possible?
Negar Mir
nmiralaei at gmail.com
Wed Nov 21 09:26:58 PST 2012
Hi Journeyer J. Joh,
Thank you so much for the solution. It was very helpful. Now, I'm wondering
if you have tested compiling a whole project (with several .c/.cpp files)
and achieve one binary file. Previously (on X86), I built .bc files
separately and then I used llvm-link to get one .bc file and produce one
binary file for the whole project. But, this time I encountered some errors
like the following, and it seems that it cannot link to the appropriate ARM
libraries.
In file included from ../../../../LLVM/project/file1.cpp:8:
/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../include/c++/4.6/iostream:38:10:
fatal error:
'bits/c++config.h' file not found
#include <bits/c++config.h>
^
Thanks
Negar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121121/43e4f175/attachment.html>
More information about the llvm-dev
mailing list