Hi I want to cross-compile llvm for arm board , running llvm on Ububtu Server 11.04 x86_64 thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111017/178ae8fe/attachment.html>
Hi I want to cross-compile llvm for arm board , running llvm on Ububtu Server 11.04 x86_64 thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111017/e1b40091/attachment.html>
http://llvm.org/docs/GettingStarted.html On Oct 17, 2011, at 10:06 PM, Artyom Baloyan wrote:> Hi > I want to cross-compile llvm for arm board , running llvm on Ububtu Server 11.04 x86_64 > thank you > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Please include the mailing list on replies. It looks like you're running configure directly in the LLVM source directory(?) I'm not sure if that works for cross builds like this. Try a separate build directory and see if that helps. -Jim On Oct 19, 2011, at 10:57 AM, Artyom Baloyan wrote:> hi > thank you, but i have this problem > > artyom at splab:~/llvm/llvm-2.7$ sudo make > configure: error: Already configured in /home/artyom/llvm/llvm-2.7 > make[1]: Entering directory `/home/artyom/llvm/llvm-2.7/BuildTools' > make[1]: *** No targets specified and no makefile found. Stop. > make[1]: Leaving directory `/home/artyom/llvm/llvm-2.7/BuildTools' > make: *** [cross-compile-build-tools] Error 1 > > >
> It looks like you're running configure directly in the LLVM source directory(?) I'm not sure if that works for cross builds like this. Try a separate build directory and see if that helps.No, cross builds won't work this way. Also, LLVM 2.7 is pretty ancient. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University