Sandeep Kumar Singh via llvm-dev
2015-Oct-27 04:53 UTC
[llvm-dev] LLVM cross compiler toolchain on Windows x86
Hi All, I want to build llvm/Clang cross compiler toolchain C and C++ for ARM on x86. Is there any available document or steps that can help me. Any help will be highly appreciated. Thanks and Regards, Deep -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151027/0759b663/attachment.html>
Mayur Pandey via llvm-dev
2015-Oct-27 06:39 UTC
[llvm-dev] LLVM cross compiler toolchain on Windows x86
Hi Sandeep, This might help: http://llvm.org/docs/GettingStartedVS.html or http://clang.llvm.org/get_started.html (go to Using Visual Studio) To build toolchain for ARM you need to pass the *LLVM_TARGETS_TO_BUILD="ARM" *option to cmake command. On Tue, Oct 27, 2015 at 10:23 AM, Sandeep Kumar Singh via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi All, > > I want to build llvm/Clang cross compiler toolchain C and C++ for ARM on > x86. Is there any available document or steps that can help me. > > Any help will be highly appreciated. > > > Thanks and Regards, > Deep > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- Thanx & Regards *Mayur Pandey * +91-9742959541 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151027/0cce10a7/attachment.html>
Renato Golin via llvm-dev
2015-Oct-27 10:44 UTC
[llvm-dev] LLVM cross compiler toolchain on Windows x86
On 27 October 2015 at 04:53, Sandeep Kumar Singh via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I want to build llvm/Clang cross compiler toolchain C and C++ for ARM on > x86. Is there any available document or steps that can help me.Hi Sandeep, Clang is a cross-compiler by nature. If you build it without additional options, you get all back-ends. But a few missing components need to be supplied to complete the compilation, namely libraries, special headers and a working linker. On Linux, that'd be the GNU toolchain (glibc, binutils). On Windows, you can try MingW. Some other people might help you with which other ARM toolchains are available. There are two main documents: What are the perils and options of cross-compiling with Clang: http://clang.llvm.org/docs/CrossCompilation.html A use case: Cross compiling LLVM itself: http://llvm.org/docs/HowToCrossCompileLLVM.html These have a tinge of Unix in them, but a lot of it should be relevant to Windows as well, especially if you use MingW (and Cygwin). Hope that helps. cheers, --renato
Bruce Hoult via llvm-dev
2015-Oct-27 11:14 UTC
[llvm-dev] LLVM cross compiler toolchain on Windows x86
The Android NDK (Native Development Kit) has a complete cross-compiler toolchain, and comes in versions for all popular platforms. You can use it as-is or replace some parts with versions you build from source if you want. On Tue, Oct 27, 2015 at 7:53 AM, Sandeep Kumar Singh via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi All, > > I want to build llvm/Clang cross compiler toolchain C and C++ for ARM on > x86. Is there any available document or steps that can help me. > > Any help will be highly appreciated. > > > Thanks and Regards, > Deep > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151027/50d7ccfb/attachment.html>