[LLVMdev] LLVM-gcc for ARM

corina s corina_fff at yahoo.com
Fri Jan 15 12:54:07 PST 2010

I am building llvm-gcc4.2-2.6  for ARM target.I used the next command line option:
.../configure  --enable-languages=c,c++ --enable-checking --target=arm-eabi
and then
 make target_alias=arm-eabi
And then I obtain the following error:

In file included from ../../gcc/config/arm/arm.c:59:
../../../libcpp/internal.h: In function ‘ufputs’:
../../../libcpp/internal.h:693: warning: implicit declaration of function ‘fputs_unlocked’
.../../gcc/config/arm/arm.c: At top level:
.../../gcc/config/arm/arm.c:514: error: ‘MASK_INTERWORK’ undeclared here (not in a function)
.../../gcc/config/arm/arm.c: In function ‘optimization_options’:
.../../gcc/config/arm/arm.c:23444: warning: unused parameter ‘level’

What would be the problem?
It is OK the configure line? 


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

More information about the llvm-dev mailing list