This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
config/cc/gcc.in.2 | 2 +- configure | 4 ++++ 2 files changed, 5 insertions(+), 1 deletions(-) # HG changeset patch # User Bryan Hundven <bryanhundven@gmail.com> # Date 1306816869 25200 # Node ID 004145b5c07567e6f15190b070176722176987bb # Parent 7b85b812a8ca96b35863478389d05775d6f41170 config/cc: CC_STATIC_LIBSTDCXX 'depends on' CONFIGURE_has_static_libstdcpp The CC_STATIC_LIBSTDCXX option should depend on libstdc++ being phyiscally on the build host. If CONFIGURE_has_static_libstdcpp is disabled, then CC_STATIC_LIBSTDCXX will also be disabled, hence disabling STATIC_TOOLCHAIN support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> diff -r 7b85b812a8ca -r 004145b5c075 config/cc/gcc.in.2 --- a/config/cc/gcc.in.2 Mon May 30 21:39:14 2011 -0700 +++ b/config/cc/gcc.in.2 Mon May 30 21:41:09 2011 -0700 @@ -61,7 +61,7 @@ bool prompt "Link libstdc++ statically into the gcc binary" default y - depends on CC_GCC_4_4_or_later + depends on CC_GCC_4_4_or_later && CONFIGURE_has_static_libstdcpp help Newer gcc versions use the PPL library which is C++ code. Statically linking libstdc++ increases the likeliness that the gcc binary will diff -r 7b85b812a8ca -r 004145b5c075 configure --- a/configure Mon May 30 21:39:14 2011 -0700 +++ b/configure Mon May 30 21:41:09 2011 -0700 @@ -436,6 +436,10 @@ has_or_abort lib="${stdcpp_libs}" \ err="'libstdc++' shared library was not found" +has_or_warn lib="libstdc++.a" \ + err="'libstdc++' static library was not found" \ + kconfig=has_static_libstdcpp + #--------------------------------------------------------------------- # Compute the version string -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |