This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38919] math_stubs_long_double.cc: error: redefinition of 'long double ...' vs. /usr/x86_64-mingw32/include/math.h
- From: "r dot emrich at de dot tecosim dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2009 14:58:43 -0000
- Subject: [Bug libstdc++/38919] math_stubs_long_double.cc: error: redefinition of 'long double ...' vs. /usr/x86_64-mingw32/include/math.h
- References: <bug-38919-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from r dot emrich at de dot tecosim dot com 2009-01-20 14:58 -------
(In reply to comment #4)
> I don't think that this has anything to do with the crossconfig.m4
>
> At least until revision 143362 trunk used to build cross compiler from
> x86_64-unknown-linux-gnu to both mingw targets x86_64-pc-mingw32 and
> i686-pc-mingw32.
>
> Now both fail.
>
Benjamin, ignore my previous posts. I'm completly wrong.
*-mingw32*)
AC_DEFINE(HAVE_STRTOF)
AC_DEFINE(HAVE_STRTOLD)
GLIBCXX_CHECK_LINKER_FEATURES
GLIBCXX_CHECK_MATH_SUPPORT
;;
in crossconfig.m4 solves the issue for target x86_64-pc-mingw32.
Test for target i686-pc-mingw32 in progress.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38919