This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: avr-gcc build fails on fp-bit.c


Marek Michalkiewicz <marekm@t19.ds.pwr.wroc.pl> writes:

> Trying to build CVS avr-gcc today I got this error:
> 
> fp-bit.c: In function `nan':
> fp-bit.c:428: `__thenan_df' undeclared (first use in this function)
> fp-bit.c:428: (Each undeclared identifier is reported only once
> fp-bit.c:428: for each function it appears in.)
> make[2]: *** [libgcc/./_thenan_sf.o] Error 1
> 
> fixed by adding "#define FLOAT" to fp-bit.c.  Was this change correct?
> 
> 	* config/avr/t-avr: Remove definition of FLOAT while generates
> 	fp-bit.c
> 
> (comments in fp-bit.c say that FLOAT_ONLY is used with FLOAT)

While I compiled my CVS tree FLOAT was defined in command line
(-DFLOAT).
I don't know why.
May be I was wrong.

Denis.


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