This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
avr-gcc build fails on fp-bit.c
- To: denisc at overta dot ru
- Subject: avr-gcc build fails on fp-bit.c
- From: Marek Michalkiewicz <marekm at t19 dot ds dot pwr dot wroc dot pl>
- Date: Fri, 12 May 2000 14:37:39 +0200 (CEST)
- CC: gcc at gcc dot gnu dot org, marekm at linux dot org dot pl
- Reply-To: marekm at linux dot org dot pl
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)
Thanks,
Marek