[LLVMdev] LLVM for ARM target

akramul azim bijoy123_8 at yahoo.com
Wed Dec 29 12:20:06 PST 2010


Hi,
    I get the following error where the "make"(building) stops.
 
/MinGW/llvm/arm_objects/./gcc/xgcc -B/MinGW/llvm/arm_objects/./gcc/ -B/MinGW/llv
m/arm_objects/../install/arm-linux/bin/ -B/MinGW/llvm/arm_objects/../install/arm
-linux/lib/ -isystem /MinGW/llvm/arm_objects/../install/arm-linux/include -isyst
em /MinGW/llvm/arm_objects/../install/arm-linux/sys-include  -O2 -O2 -g -O2  -DI
N_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes
 -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../.
./llvm-gcc-4.8/gcc -I../../llvm-gcc-4.8/gcc/. -I../../llvm-gcc-4.8/gcc/../includ
e -I../../llvm-gcc-4.8/gcc/../libcpp/include  -I../../llvm-gcc-4.8/gcc/../libdec
number -I../libdecnumber -I/MinGW/llvm/arm_objects/../llvm-2.8/include -I/MinGW/
llvm/llvm-2.8/include  -g0 -finhibit-size-directive -fno-inline-functions -fno-e
xceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc  \
          -c ../../llvm-gcc-4.8/gcc/crtstuff.c -DCRT_BEGIN \
          -o crtbegin.o
C:/MinGW/llvm/arm_objects/gcc/as: line 2: exec: -o: invalid option
exec: usage: exec [-cl] [-a name] file [redirection ...]
make[3]: *** [crtbegin.o] Error 1
make[3]: Leaving directory `/MinGW/llvm/arm_objects/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/MinGW/llvm/arm_objects'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/MinGW/llvm/arm_objects'
make: *** [all] Error 2

I tried --enable-bootstrap but get the same error.
 
Akramul

--- On Wed, 29/12/10, Bill Wendling <wendling at apple.com> wrote:


From: Bill Wendling <wendling at apple.com>
Subject: Re: [LLVMdev] LLVM for ARM target
To: "akramul azim" <bijoy123_8 at yahoo.com>
Cc: llvmdev at cs.uiuc.edu
Date: Wednesday, 29 December, 2010, 2:26 AM



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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101229/88010aea/attachment.html>


More information about the llvm-dev mailing list