This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: avr-gcc build fails on fp-bit.c
- To: marekm at linux dot org dot pl
- Subject: Re: avr-gcc build fails on fp-bit.c
- From: Denis Chertykov <denisc at overta dot ru>
- Date: 12 May 2000 23:56:39 +0400
- Cc: denisc at overta dot ru, gcc at gcc dot gnu dot org
- References: <20000512123747Z116297-557+18@piast.t19.ds.pwr.wroc.pl>
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.