* [Buildroot] [PATCH] External toolchain C++ cross-compiler fix
@ 2008-10-31 14:13 Thomas Petazzoni
2008-10-31 18:32 ` hartleys
2008-11-03 10:37 ` Peter Korsgaard
0 siblings, 2 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2008-10-31 14:13 UTC (permalink / raw)
To: buildroot
External toolchain C++ cross-compiler fix
package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if
BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an external
toolchain, BR2_GCC_CROSS_CXX is not set even if the toolchain has a
C++ cross-compiler.
This patch adds a new BR2_GCC_CROSS_CXX option in the external
toolchain configuration menu, so that just like BR2_INET_RPC,
BR2_INET_IPV6 and the others, it can be set according to the external
toolchain configuration.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/external-toolchain/Config.in | 6 ++++++
1 file changed, 6 insertions(+)
Index: buildroot2/toolchain/external-toolchain/Config.in
===================================================================
--- buildroot2.orig/toolchain/external-toolchain/Config.in
+++ buildroot2/toolchain/external-toolchain/Config.in
@@ -93,6 +93,12 @@
help
Set this option if the external toolchain supports soft float.
+config BR2_GCC_CROSS_CXX
+ bool "Toolchain has C++ cross-compiler ?"
+ help
+ Set this option if the external toolchain has a C++
+ cross-compiler.
+
config BR2_TARGET_OPTIMIZATION
string "Target Optimizations"
default "-Os -pipe"
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] External toolchain C++ cross-compiler fix
2008-10-31 14:13 [Buildroot] [PATCH] External toolchain C++ cross-compiler fix Thomas Petazzoni
@ 2008-10-31 18:32 ` hartleys
2008-11-03 8:25 ` Thomas Petazzoni
2008-11-03 10:37 ` Peter Korsgaard
1 sibling, 1 reply; 5+ messages in thread
From: hartleys @ 2008-10-31 18:32 UTC (permalink / raw)
To: buildroot
On Friday, October 31, 2008 7:13 AM, Thomas Petazzoni wrote:
> External toolchain C++ cross-compiler fix
>
> package/Makefile.in resets CXX to "" in TARGET_CONFIGURE_OPTS if
> BR2_GCC_CROSS_CXX is not set to 'y'. However, when using an
> external toolchain, BR2_GCC_CROSS_CXX is not set even if the
> toolchain has a C++ cross-compiler.
>
> This patch adds a new BR2_GCC_CROSS_CXX option in the external
> toolchain configuration menu, so that just like BR2_INET_RPC,
> BR2_INET_IPV6 and the others, it can be set according to the
> external toolchain configuration.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yah! Someone else had the same problem.
I posted a message about this back on 8/13/2008 with a similar fix (but
not a patch) and never got a reply. I was starting to think it was just
me.
For what it's worth:
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] External toolchain C++ cross-compiler fix
2008-10-31 18:32 ` hartleys
@ 2008-11-03 8:25 ` Thomas Petazzoni
2008-11-03 10:38 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2008-11-03 8:25 UTC (permalink / raw)
To: buildroot
Le Fri, 31 Oct 2008 14:32:08 -0400,
"hartleys" <hartleys@visionengravers.com> a ?crit :
> I posted a message about this back on 8/13/2008 with a similar fix
> (but not a patch) and never got a reply. I was starting to think it
> was just me.
No, that's not just you. Not everybody is using Buildroot with the
external toolchain set-up (considering the number of issues faced by
people using it in this setup), and many patches remained unanswered
unfortunately.
> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] External toolchain C++ cross-compiler fix
2008-10-31 14:13 [Buildroot] [PATCH] External toolchain C++ cross-compiler fix Thomas Petazzoni
2008-10-31 18:32 ` hartleys
@ 2008-11-03 10:37 ` Peter Korsgaard
1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2008-11-03 10:37 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> External toolchain C++ cross-compiler fix
Thanks, committed as r23910.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] External toolchain C++ cross-compiler fix
2008-11-03 8:25 ` Thomas Petazzoni
@ 2008-11-03 10:38 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2008-11-03 10:38 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Le Fri, 31 Oct 2008 14:32:08 -0400,
Thomas> "hartleys" <hartleys@visionengravers.com> a ?crit :
>> I posted a message about this back on 8/13/2008 with a similar fix
>> (but not a patch) and never got a reply. I was starting to think it
>> was just me.
Thomas> No, that's not just you. Not everybody is using Buildroot with the
Thomas> external toolchain set-up (considering the number of issues faced by
Thomas> people using it in this setup), and many patches remained unanswered
Thomas> unfortunately.
Yeah - It's an issue of limited man power, nothing else.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-03 10:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 14:13 [Buildroot] [PATCH] External toolchain C++ cross-compiler fix Thomas Petazzoni
2008-10-31 18:32 ` hartleys
2008-11-03 8:25 ` Thomas Petazzoni
2008-11-03 10:38 ` Peter Korsgaard
2008-11-03 10:37 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox