This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem compiling newlib


Hello !!

I am trying to compile newlib 1.13 together with
gcc for arm.
Gcc compiles fine. With newlib I get :
===================================================
Making all in argz
make[4]: Entering directory `/root/arm-elf/gcc-3.4.3/arm-elf/newlib/libc/argz'
/root/arm-elf/gcc-3.4.3/gcc/xgcc -B/root/arm-elf/gcc-3.4.3/gcc/ -nostdinc 
-B/root/arm-elf/gcc-3.4.3/arm-elf/newlib/ 
-isystem /root/arm-elf/gcc-3.4.3/arm-elf/newlib/targ-include 
-isystem /root/arm-elf/gcc-3.4.3/newlib/libc/include -B/arm-elf/bin/ 
-B/arm-elf/lib/ -isystem /arm-elf/include -isystem /arm-elf/sys-include 
-DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\"  -I. 
-I../../../.././newlib/libc/argz  -O2 -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY 
-DARM_RDI_MONITOR -fno-builtin    -O2 -O2 -march=i586 -mcpu=i686  -O2 -O2 
-march=i586 -mcpu=i686 -c ../../../.././newlib/libc/argz/dummy.c
../../../.././newlib/libc/argz/dummy.c:1: error: bad value (i586) for -march= 
switch
../../../.././newlib/libc/argz/dummy.c:1: error: bad value (i686) for -mcpu= 
switch
=====================================================

There are no problems compiling arm-elf-gcc without newlib, but
I really need it !
Please help.

regards, Oliver


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]