------- Comment #17 from rwild at gcc dot gnu dot org  2009-12-16 21:51 -------
Armand, to expand on comment #13, could you post the exact command and error
message you're getting, as the original poster did?

Both of you, could you cd to the directory where the failure occurs, remove the
-o ARG from the command, add -E and pipe it into 'grep -i fenv' and post the
result, so we can see for sure which headers are being picked up?  Something
like this:

/mnt/clfs/cross-tools/usr/bin/x86_64-unknown-linux-gnu-c++  -x c++-header -g
-O2   -D_GNU_SOURCE  
-I/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/mnt/clfs/sources/gcc-4.4.1/libstdc++-v3/libsupc++ -O2 -g
/mnt/clfs/sources/gcc-4.4.1/libstdc++-v3/include/precompiled/stdtr1c++.h -E |
grep -i fenv

libstdc++-v3/acinclude.m4 has this code:

  # For Canadian crosses, pick this up too.
  if test $CANADIAN = yes; then
    GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
  fi

but it is not enabled in this case because $build = $target.

Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974

Reply via email to