Version info:
crosstoll-ng : 1.21.0
build tool versioin: gcc 4.4.3
want to build native gcc 4.4.3
Error:
Fail in stage: cc_for_host .
Error info: fenv_t has not been declared.
Cause:
BUG of gcc-4.4.3 source code .
Solution:
Modify file:
1. Gcc-4.4.3/libstdc++-v3/include/Makefile.in (Mojor File.)
2. Gcc-4.4.3/libstdc++-v3/include/Makefile.am (Automake Configure File.)
Edit the line below:
PCHFLAGS=-x c++-header $(CXXFLAGS)
to:
PCHFLAGS=-x c