From: Anton S. <de...@an...> - 2013-10-01 03:14:47
|
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 >> >> > |