------- Comment #2 from bkoz at redhat dot com  2009-01-20 04:21 -------

If this is a native build, then GLIBCXX_CHECK_MATH_SUPPORT should have defined

_GLIBCXX_HAVE_FABSL
_GLIBCXX_HAVE_MODFL

in c++config.h. One would have seen something like:

checking for fabsl declaration... yes
checking for fabsl... (cached) yes

checking for modfl declaration... yes
checking for modfl... (cached) yes


when configuring. Please let me know what your see and what macros are defined
in c++config.h.

However, if this is a cross compile, then crossconfig.m4 is wrong:

  *-mingw32*)
    AC_DEFINE(HAVE_STRTOF)
    AC_DEFINE(HAVE_STRTOLD)
    GLIBCXX_CHECK_LINKER_FEATURES
    ;;

would have to be something like:

  *-mingw32*)
    AC_DEFINE(HAVE_STRTOF)
    AC_DEFINE(HAVE_STRTOLD)
    AC_DEFINE(HAVE_MODFL)
    AC_DEFINE(HAVE_FABSL)
    GLIBCXX_CHECK_LINKER_FEATURES
    ;;


-- 


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

Reply via email to