This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
GLIBCXX_CROSSCONFIG with newlib targets
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 11 Sep 2006 16:44:08 +1000
- Subject: GLIBCXX_CROSSCONFIG with newlib targets
The GLIBCXX_CROSSCONFIG macro is invoked from configure.ac and allows
the hardwiring of target-specific parameters like SECTION_FLAGS when
cross-configuring libstdc++:
if test "x${with_newlib}" = "xyes"; then
os_include_dir="os/newlib"
AC_DEFINE(HAVE_HYPOT)
[...]
else
GLIBCXX_CROSSCONFIG
fi
If the target also uses newlib (and one configures with
--with-newlib), then the GLIBCXX_CROSSCONFIG macro is bypassed. Is
there some other way to hardwire target parameters in a cross
environment that I haven't noticed?
Thanks, Ben