[LLVMdev] Question about compiling LLVM through cross-compiler for ARM

Anton Korobeynikov anton at korobeynikov.info
Tue Nov 20 11:46:21 PST 2012


Hello

It will be really great if you'd provide which problems you had. Just
"couldn't get" is definitely not enough for any suggestion.
Unfortunately, telepathy modules are not mainstream yet ;)

On Tue, Nov 20, 2012 at 7:56 PM, Negar Mir <nmiralaei at gmail.com> wrote:
> Hi All,
>
> I'm trying to compile clang+llvm on my desktop with cross-compiler to be
> able to work with llvm commands in ubuntu-arm image whithin gem5.
> If anybody has done this before I'd be so thankful to know the exact process
> and commands. I tried to configure llvm as follows but I couldn't get the
> arm-arm version correctly. To sum up, I need to cross-compile llvm for ARM
> to work in gem5 through the ubuntu image for ARM systems.
>
> ../llvm/configure --host=arm-none-linux-gnueabi
> --target=arm-none-linux-gnueabi --prefix=/path/to/install
> --with-sysroot=/usr/arm-linux-gnueabi
>
> Best regards
> Negar
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list