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] |
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> --- scripts/build/cc/gcc.sh | 4 ++++ scripts/build/companion_libs/cloog.sh | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) Index: crosstool-ng/scripts/build/companion_libs/cloog.sh =================================================================== --- crosstool-ng.orig/scripts/build/companion_libs/cloog.sh +++ crosstool-ng/scripts/build/companion_libs/cloog.sh @@ -48,6 +48,13 @@ do_cloog() { CT_DoStep INFO "Installing CLooG/ppl" + cloog_opt= + # Appearantly under Mingw ppl won't link with stdc++ automaticly + case "${CT_HOST}" in + *mingw*) cloog_opt="--with-host-libstdcxx=-lstdc++";; + *) cloog_opt="";; + esac + CT_DoLog EXTRA "Configuring CLooG/ppl" CFLAGS="${CT_CFLAGS_FOR_HOST}" \ CT_DoExecLog ALL \ @@ -57,10 +64,10 @@ do_cloog() { --prefix="${CT_PREFIX_DIR}" \ --with-gmp="${CT_PREFIX_DIR}" \ --with-ppl="${CT_PREFIX_DIR}" \ + ${cloog_opt} \ --enable-shared \ --disable-static \ --with-bits=gmp - CT_DoLog EXTRA "Building CLooG/ppl" CT_DoExecLog ALL make ${PARALLELMFLAGS} Index: crosstool-ng/scripts/build/cc/gcc.sh =================================================================== --- crosstool-ng.orig/scripts/build/cc/gcc.sh +++ crosstool-ng/scripts/build/cc/gcc.sh @@ -315,6 +315,10 @@ do_cc() { extra_config+=("--with-ppl=${CT_PREFIX_DIR}") extra_config+=("--with-cloog=${CT_PREFIX_DIR}") extra_config+=("--with-mpc=${CT_PREFIX_DIR}") + case "${CT_HOST}" in + *mingw*) extra_config+=("--with-host-libstdcxx=-lstdc++");; + *) ;; + esac fi if [ "${CT_THREADS}" = "none" ]; then -- -- 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] |