This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/38919] math_stubs_long_double.cc: error: redefinition of 'long double ...' vs. /usr/x86_64-mingw32/include/math.h



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]