[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't build: "`CFLAGS' has changed since the previous run"

>Hi, i'm trying to build gcc 4.1.1 with binutils 2.17 and newlib 1.15.0 , 
>i'm following the steps described on-line library Using configure 
>and make.
When i 'm doing "Configuring and Building GCC and NEWLIB" newlib fails  with 
this odd message:

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
configure: error: /bin/sh 
'/home/vguerrero/tools-rtems/gcc-4.1.1/newlib/libc/configure' failed for 
make[1]: *** [configure-target-newlib] Error 1
make[1]: se sale del directorio `/home/vguerrero/b-gcc'
make: *** [all] Error 2

So, I  found a  solution that consist in change two lines of the MakeFile.in 
of newlib:


but these lines doesn't fix the problem.

What am I doing grown ? is there another solution for this problem?


Need a break? Find your escape route with Live Search Maps.