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]

Could not build newlib with gcc 4.1.2


Hi all,

I got the following errors:
'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS='
'build_alias=i686-pc-linux-gnu' 'host_alias=arm-elf'
'target_alias=arm-elf' --cache-file=.././config.cache
--srcdir=../../../../newlib/libc
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -g -O2
configure:   current value: -O2 -g -O2
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache'
and start over

after removing config.cache I could continue but the build crashes at:

make[4]: Entering directory `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib/libc'
make[4]: *** No rule to make target `all'.  Stop.
make[4]: Leaving directory `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib/libc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zfrdh/work/gcc-4.1.2/build_arm/arm-elf/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/zfrdh/work/gcc-4.1.2/build_arm'
make: *** [all] Error 2


Any ideas?

Thanks
  Klaus


-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out


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