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++/16371] gcc 3.4.1 - GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT does not respect GCC_NO_EXECUTABLES


------- Additional Comments From mg_gentoo at yahoo dot com  2004-07-23 11:07 -------
Thought I'd add more detailed notes, after having conversed a bit with lv:
Same problem occurs later on after working around (disabling and defaulting) for
math, in the wchar_t check, and much later, for strerror, and so on.
However, I'm not so sure as to where exactly the problem is any more. 
GCC_NO_EXECUTABLES is called for cross compilation way up around line 45 of
configure.ac.  So basically all the non-xcsafe-wrapped tests (like math, complex
math, wchar_t, etc) that come after would appear to me obviously doomed.  Mind
you I could easily be missing something (which is why I cced Dan).

Further, my problem might be separate from lv's.  He shouldn't, afaict (again, I
might be wrong), be being flagged as cross compiling, unless perhaps it's
multilib related.

BTW, is there a particular reason that mingw does not do the hardwired
AC_DEFINES in crossconfig.m4 like so many other hosts, but rather the actual
checks?  That part of the workaround, judging by the surrounding entries, looks
like it may be actually valid (that, or just a generally accepted hack for lack
of anything better).

Dunno...


-- 


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


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