This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 4.3.0 and 4.3.1 don't build startfiles (crtXXX.o files)
On Sunday 08 June 2008 13:50, Joseph S. Myers wrote:
> On Sun, 8 Jun 2008, Denys Vlasenko wrote:
>
> > ../../../gcc-4.3.1/libgcc/config/libbid/bid_decimal_globals.c:52:18: error: fenv.h: No such file or directory
>
> Decimal floating point requires <fenv.h>. The DPD code only requires the
> header, not any of the actual functions it declares; it looks like the BID
> code requires the functions (which uClibc does provide on x86, though not
> on most targets). So either configure uClibc with UCLIBC_HAS_FENV
> enabled,
I don't understand you.
As far as I know, toolchain is built in this order:
1. binutils
2. C compiler
3. libc
and after that one can finally cross-compile stuff for the selected target.
Your suggestion does not make sense, because the problem I describe
happens on step 2. By this time, libc did not enter the picture yet
in any shape or form.
In other words: it doesn't matter how I configure uclibc, because gcc
should be built before uclibc can be built.
If I misunderstand something, please let me know.
> or configure GCC with --disable-decimal-float.
Will try, thanks.
--
vda