From: Anton S. <de...@an...> - 2013-10-07 11:40:36
|
Hey. Any update on this? Regards, Anton. 2013/10/2 Anton Smirnov <de...@an...> > I have followed http://llvm.org/docs/HowToCrossCompileLLVM.htmlguide both on mac and linux but no luck. > (I've also tried with -DLLVM_ENABLE_PIC=False as it seems to be the > reason of "relocations in ELF" error on linux). > > Sure, i will be happy to get it finally when you have free time. > It would be great to have statically built libclang.so for ARM Linux and > x86 Linux. > > Thanks a lot! > Regards, Anton. > > > 2013/10/2 John Myers <ato...@gm...> > >> Sure, I can try and compile it. I might not have time do to it until >> tomorrow though. >> >> >> Which configure options did you use? >> >> >> On Mon, Sep 30, 2013 at 8:14 PM, Anton Smirnov <de...@an...>wrote: >> >>> Yes, i tried to build llvm + clang for ARM Linux and failed both on mac >>> (ld does not support -version-script parameter error) and on linux >>> (relocations in ELF error). I tried even with standalone toolchain from >>> android ndk but i have another source issue (some functions not found). For >>> host i succeed to compile but it's not what i need actually. >>> >>> Can you try to compile avr-llvm + clang for arm linux in your dev >>> environment please? >>> >>> Regards, Anton. >>> >>> >>> 2013/10/1 John Myers <ato...@gm...> >>> >>>> Hi Anton, >>>> >>>> I haven't tried yet, but I don't see any reason building for Android >>>> wouldn't work. I've successfully built Windows binaries on Linux. I don't >>>> thing there is anything AVR specific that would keep it from cross >>>> compiling. >>>> >>>> There isn't a step-by-step for cross compiling avr-llvm. Once clang and >>>> LLVM are patched with the AVR stuff the instructions for cross compiling >>>> should be the same as it would be for the regular clang/LLVM. >>>> >>>> I don't have a Mac to test with. It could be a Mac specific issue. Have >>>> you tried building the android binaries on a Linux host? >>>> >>>> >>>> On Mon, Sep 30, 2013 at 12:06 AM, Anton Smirnov <de...@an...>wrote: >>>> >>>>> Hello. >>>>> >>>>> Can avr-llvm be hosted on ARM or x86 Linux device (Android to be more >>>>> detailed)? >>>>> Is there any step-by-step guide for cross-compilation on darwin or >>>>> linux machine? >>>>> (i've tried to cross-compile original llvm/clang on mac for arm linux >>>>> and there is are a lot of unexpected problems) >>>>> >>>>> Thanks, >>>>> Anton. >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> October Webinars: Code for Performance >>>>> Free Intel webinars can help you accelerate application performance. >>>>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the >>>>> most from >>>>> the latest Intel processors and coprocessors. See abstracts and >>>>> register > >>>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> avr-llvm-devel mailing list >>>>> avr...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/avr-llvm-devel >>>>> >>>>> >>>> >>> >> > |