Rowan Potgieter wrote:
What exactly am i looking for?
Well, the way configure works is that it tries to compile little test
programs. So if a compile fails, it throws one of those cryptic
messages you saw. The message is often not related to the file at hand....
I went through the libstdc++-v3/config.log and it basically said all
the same stuff as i posted previously. I'll post a little of it below:
configure:79692: result: no
configure:79696: checking float.h presence
configure:79706:
/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-linux/gcc-3.4.4/arm-linux/gcc/xgcc
-B/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-linux/gcc-3.4.4/arm-linux/gcc/
-B/opt/tools/arm-linux/arm-linux/bin/
-B/opt/tools/arm-linux/arm-linux/lib/ -isystem
/opt/tools/arm-linux/arm-linux/include -isystem
/opt/tools/arm-linux/arm-linux/sys-include -E -O2 -g -O2 conftest.c
configure:79712: $? = 0
configure:79732: result: yes
configure:79745: WARNING: float.h: present but cannot be compiled
configure:79747: WARNING: float.h: check for missing prerequisite
headers?
configure:79749: WARNING: float.h: see the Autoconf documentation
configure:79751: WARNING: float.h: section "Present But Cannot Be
Compiled"
configure:79753: WARNING: float.h: proceeding with the preprocessor's
result
configure:79755: WARNING: float.h: in the future, the compiler will
take precedence
configure:79767: checking for float.h
configure:79774: result: yes
configure:79642: checking for endian.h
configure:79647: result: no
configure:79642: checking for inttypes.h
configure:79647: result: no
configure:79651: checking locale.h usability
configure:79663:
/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-linux/gcc-3.4.4/arm-linux/gcc/xgcc
-B/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-linux/gcc-3.4.4/arm-linux/gcc/
-B/opt/tools/arm-linux/arm-linux/bin/
-B/opt/tools/arm-linux/arm-linux/lib/ -isystem
/opt/tools/arm-linux/arm-linux/include -isystem
/opt/tools/arm-linux/arm-linux/sys-include -c -O2 -g -O2 -O2 -g -O2
conftest.c >&5
conftest.c:16:19: stdio.h: No such file or directory
conftest.c:50:20: locale.h: No such file or directory
************* here's your actual error *****************
The build chain cannot find those two files. Fix that and the other
problems will most likely go away.
That points to a broken toolchain, so you may be right....
--Yan