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] |
# HG changeset patch # User Anthony Foiani <anthony.foiani@gmail.com> # Date 1295669763 25200 # Node ID 8410ffdd70a635386c2278c20400b0669e715324 # Parent 1e73ceb6ecb81b9dc4171ad65c57e5c5be4ecb76 Add sanity check for static C++ libraries. As suggested by Bryan Hundven in: http://sourceware.org/ml/crossgcc/2011-01/msg00100.html We check to make sure that the host gcc can find libstdc++. Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com> diff -r 1e73ceb6ecb8 -r 8410ffdd70a6 scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Fri Jan 14 18:36:07 2011 +0100 +++ b/scripts/crosstool-NG.sh.in Fri Jan 21 21:16:03 2011 -0700 @@ -57,6 +57,10 @@ esac done +# Verify that the static libraries are installed on the host. +ct_static_libstdcpp=`gcc -print-file-name=libstdc++.a` +CT_TestAndAbort "Static C++ libraries must be installed." ! -e "${ct_static_libstdcpp}" + # Where will we work? CT_WORK_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/targets}" CT_DoExecLog ALL mkdir -p "${CT_WORK_DIR}" -- 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] |