* [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core
@ 2011-11-22 11:32 Zhenqiang Chen
2011-11-22 17:12 ` Yann E. MORIN
2011-11-22 22:42 ` Yann E. MORIN
0 siblings, 2 replies; 3+ messages in thread
From: Zhenqiang Chen @ 2011-11-22 11:32 UTC (permalink / raw)
To: yann.morin.1998; +Cc: crossgcc
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1321587170 -28800
# Node ID 034050d2fbe6af17d4e89b9d32ef2f68d8f7c041
# Parent a6c68712024f406df7d2da4af377f51982615833
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.
Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.
Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -289,6 +289,8 @@
extra_config+=(--disable-libgomp)
extra_config+=(--disable-libmudflap)
+ [ "${CT_CC_GCC_DISABLE_PCH}" = "y" ] && extra_config+=("--disable-libstdcxx-pch")
+
CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
# Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core
2011-11-22 11:32 [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core Zhenqiang Chen
@ 2011-11-22 17:12 ` Yann E. MORIN
2011-11-22 22:42 ` Yann E. MORIN
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2011-11-22 17:12 UTC (permalink / raw)
To: crossgcc; +Cc: Zhenqiang Chen
Zhenqiang, All,
On Tuesday 22 November 2011 12:32:08 Zhenqiang Chen wrote:
> # HG changeset patch
> # User Zhenqiang Chen <zhenqiang.chen@linaro.org>
> # Date 1321587170 -28800
> # Node ID 034050d2fbe6af17d4e89b9d32ef2f68d8f7c041
> # Parent a6c68712024f406df7d2da4af377f51982615833
> cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.
>
> Otherwise, users have to input --disable-libstdcxx-pch option
> when building bare-metal CANADIAN C++ compiler.
Haha! That must have been the reason bare-metal C++ would be failing for
me in some cases. Good!
Queued, thank you!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core
2011-11-22 11:32 [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core Zhenqiang Chen
2011-11-22 17:12 ` Yann E. MORIN
@ 2011-11-22 22:42 ` Yann E. MORIN
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2011-11-22 22:42 UTC (permalink / raw)
To: crossgcc; +Cc: Zhenqiang Chen
Zhenqiang, All,
On Tuesday 22 November 2011 12:32:08 Zhenqiang Chen wrote:
> # HG changeset patch
> # User Zhenqiang Chen <zhenqiang.chen@linaro.org>
> # Date 1321587170 -28800
> # Node ID 034050d2fbe6af17d4e89b9d32ef2f68d8f7c041
> # Parent a6c68712024f406df7d2da4af377f51982615833
> cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.
Applied as #e3e1c9d45bdd. Thank you!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-22 22:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-22 11:32 [PATCH] cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core Zhenqiang Chen
2011-11-22 17:12 ` Yann E. MORIN
2011-11-22 22:42 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).