This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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


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