gcc/libstdc++-v3
Alexandre Oliva 85129ff10a Define HAVE_ for math long double functions declared in vxworks headers
When cross-building for vxworks, test for declarations of long double
functions in math.h.  We don't normally test for these functions when
cross compiling, because link tests don't work, or ever really, but
not defining them as available causes replacements to be defined in
ways that may cause duplicate definition linker errors if the units
defining both the replacement and the actual implementation are
brought in because of other symbols.


for libstdc++-v3/ChangeLog

	* crossconfig.m4 (GLIBCXX_CROSSCONFIG) [*-vxworks*]: Define
	long double functions as available if declared by math.h.
	(GLIBCXX_CHECK_MATH_DECL, GLIBCXX_CHECK_MATH_DECLS): New.
	* configure: Rebuild.

From-SVN: r279731
2019-12-25 06:43:22 +00:00
..
config
doc
include libstdc++: Add inline to maybe-constexpr functions (PR 92927) 2019-12-20 17:10:18 +00:00
libsupc++ libstdc++: Simplify std::common_comparison_category 2019-12-12 14:35:55 +00:00
po
python libstdc++: Fix pretty printers script and tests 2019-12-20 12:42:50 +00:00
scripts
src libstdc++: Qualify isdigit call to fix versioned namespace build. 2019-12-12 07:14:55 +00:00
testsuite libstdc++: Fix versioned namespace tests 2019-12-20 13:24:52 +00:00
acinclude.m4 libstdc++: Test setrlimit with c++ in configure 2019-12-20 15:30:41 +00:00
aclocal.m4
ChangeLog Define HAVE_ for math long double functions declared in vxworks headers 2019-12-25 06:43:22 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
config.h.in
configure Define HAVE_ for math long double functions declared in vxworks headers 2019-12-25 06:43:22 +00:00
configure.ac
configure.host
crossconfig.m4 Define HAVE_ for math long double functions declared in vxworks headers 2019-12-25 06:43:22 +00:00
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.