[LLVMdev] LLVM for ARM target

Bill Wendling wendling at apple.com
Tue Dec 28 18:26:53 PST 2010


On Dec 28, 2010, at 8:06 AM, akramul azim wrote:

> hi everyone,
>  
>      I am new in LLVM. I am using this command to compile gcc or configure LLVM for the ARM target.
>  
> $ ../llvm-gcc-4.8/ configure --target=arm-linux --program-prefix=arm- 
>   arm- --prefix=$PWD/.. /install --disable-optimized --enable-bindings= none --enable-llvm=$PWD/../ llvm-2.8 --enable-languages= c,c++  
>  
> $ make
>  
> However, I get compile errors. So, i cannot execute make install.
>  
>  
> I wonder that is this the right way to configure LLVM for compiling C programs for ARM target from my windows host machine(x86)? 
>  
I'm not sure which errors you're getting, but you should probably be using the `--disable-bootstrap' flag during configuration.

-bw





More information about the llvm-dev mailing list