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

Eric Norum norume at
Mon May 7 13:36:00 UTC 2007

On May 7, 2007, at 2:24 AM, Ralf Corsepius wrote:

> On Fri, 2007-05-04 at 08:12 -0500, Eric Norum wrote:
>> The problem you're seeing is because of a disagreement about trailing
>> spaces.  Here's a script which I run from the top of the newlib
>> source tree before running configure.  The script adds some commands
>> to each configure script to strip trailing spaces before comparing
>> the values.
>> BTW -- are you building on OS X?  That's where I encountered this
>> problem.
> This issue has nothing to do with OS X nor is running a script the
> appropriate fix.

Certainly the correct long term fix is to get the GCC and newlib  
configure scripts to play nicely together.
However, the problem reported in the original message in this thread  
was that the tool chain would not build.  Running the script fixes  
that problem.

Eric Norum <norume at>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793

More information about the users mailing list