* [Buildroot] [pull request] Pull request for branch fix-gxx-on-target
@ 2010-07-27 20:34 Thomas Petazzoni
2010-07-27 20:34 ` [Buildroot] [PATCH 1/1] target-g++: fix build Thomas Petazzoni
2010-07-27 20:46 ` [Buildroot] [pull request] Pull request for branch fix-gxx-on-target Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-07-27 20:34 UTC (permalink / raw)
To: buildroot
Hello,
This is an additional pull request to fix target g++. It is based on
the fix-gcc-on-target branch for which a pull request has been sent
today.
Thomas
The following changes since commit fed6a2a6ea884630a3723d2a49579e63e87ffd57:
Thomas Petazzoni (1):
target-gcc: remove useless copies of gcc
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot fix-gxx-on-target
Thomas Petazzoni (1):
target-g++: fix build
toolchain/gcc/gcc-uclibc-4.x.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Thanks,
--
Thomas Petazzoni
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] target-g++: fix build
2010-07-27 20:34 [Buildroot] [pull request] Pull request for branch fix-gxx-on-target Thomas Petazzoni
@ 2010-07-27 20:34 ` Thomas Petazzoni
2010-07-27 20:46 ` Yann E. MORIN
2010-07-27 20:46 ` [Buildroot] [pull request] Pull request for branch fix-gxx-on-target Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2010-07-27 20:34 UTC (permalink / raw)
To: buildroot
Just as we did to fix target-gcc, pass CXX_FOR_TARGET when building
target g++, and remove useless copies of g++ and c++.
Tested on ARM by compiling a simple C++ program using <iostream> on
the target and running it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
toolchain/gcc/gcc-uclibc-4.x.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 9720ed3..6e767ac 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -399,6 +399,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
GCC_FOR_TARGET="$(TARGET_CC)" \
CC_FOR_TARGET="$(TARGET_CC)" \
+ CXX_FOR_TARGET="$(TARGET_CXX)" \
$(GCC_SRC_DIR)/configure $(QUIET) \
--prefix=/usr \
--build=$(GNU_HOST_NAME) \
@@ -445,8 +446,10 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
# Remove broken specs file (cross compile flag is set).
rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
- # Remove useless copies of gcc
+ # Remove useless copies of gcc, c++, g++
rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc*
+ rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-g++*
+ rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-c++*
# Work around problem of missing syslimits.h
if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h ]; then \
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] target-g++: fix build
2010-07-27 20:34 ` [Buildroot] [PATCH 1/1] target-g++: fix build Thomas Petazzoni
@ 2010-07-27 20:46 ` Yann E. MORIN
0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2010-07-27 20:46 UTC (permalink / raw)
To: buildroot
On Tuesday 27 July 2010 22:34:26 Thomas Petazzoni wrote:
>
> Just as we did to fix target-gcc, pass CXX_FOR_TARGET when building
> target g++, and remove useless copies of g++ and c++.
>
> Tested on ARM by compiling a simple C++ program using <iostream> on
> the target and running it.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
> ---
> toolchain/gcc/gcc-uclibc-4.x.mk | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
> index 9720ed3..6e767ac 100644
> --- a/toolchain/gcc/gcc-uclibc-4.x.mk
> +++ b/toolchain/gcc/gcc-uclibc-4.x.mk
> @@ -399,6 +399,7 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
> BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
> GCC_FOR_TARGET="$(TARGET_CC)" \
> CC_FOR_TARGET="$(TARGET_CC)" \
> + CXX_FOR_TARGET="$(TARGET_CXX)" \
> $(GCC_SRC_DIR)/configure $(QUIET) \
> --prefix=/usr \
> --build=$(GNU_HOST_NAME) \
> @@ -445,8 +446,10 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
> # Remove broken specs file (cross compile flag is set).
> rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
>
> - # Remove useless copies of gcc
> + # Remove useless copies of gcc, c++, g++
> rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc*
> + rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-g++*
> + rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-c++*
>
> # Work around problem of missing syslimits.h
> if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h ]; then \
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [pull request] Pull request for branch fix-gxx-on-target
2010-07-27 20:34 [Buildroot] [pull request] Pull request for branch fix-gxx-on-target Thomas Petazzoni
2010-07-27 20:34 ` [Buildroot] [PATCH 1/1] target-g++: fix build Thomas Petazzoni
@ 2010-07-27 20:46 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-07-27 20:46 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Hello,
Thomas> This is an additional pull request to fix target g++. It is based on
Thomas> the fix-gcc-on-target branch for which a pull request has been sent
Thomas> today.
Pulled and pushed, thanks!
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-27 20:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 20:34 [Buildroot] [pull request] Pull request for branch fix-gxx-on-target Thomas Petazzoni
2010-07-27 20:34 ` [Buildroot] [PATCH 1/1] target-g++: fix build Thomas Petazzoni
2010-07-27 20:46 ` Yann E. MORIN
2010-07-27 20:46 ` [Buildroot] [pull request] Pull request for branch fix-gxx-on-target Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox