Skip to contentSkip to conversation

Pull request for branch gcc-target-fix

GIT PULL New Thomas Petazzoni 2 participants 3 messages Feb 25, 2010

lore
Share & tools
lore
#0 lore raw

The following changes since commit ba50538cfa513f7155f9c7fd30df22047f6eb751:
Peter Korsgaard (1):
CHANGES: add ipsec-tools/libgtk2/madplay/netsnmp/pango/sylpheed/openmotif/xpdf

are available in the git repository at:

git://git.busybox.net/~tpetazzoni/git/buildroot gcc-target-fix

Thomas Petazzoni (1):
gcc on target: add missing definitions for gcc 4.4

 toolchain/gcc/gcc-uclibc-4.x.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/1 gcc on target: add missing definitions for gcc 4.4

Depending on the gcc version, the gcc include and lib directories have changed. We include support for gcc 4.4 by copy/pasting the support for gcc 4.3. Locations don't seem to have changed between 4.3 and 4.4. This allows the syslimits.h fixup to succeed.

---
 toolchain/gcc/gcc-uclibc-4.x.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
toolchain/gcc/gcc-uclibc-4.x.mk +4 -0
index 6f65cb3..dcca431 100644
@@ -459,6 +459,10 @@ ifeq ($(findstring x4.3,x$(GCC_VERSION)),x4.3)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 GCC_INCLUDE_DIR:=include-fixed
 endif
+ifeq ($(findstring x4.4,x$(GCC_VERSION)),x4.4)
+GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
+GCC_INCLUDE_DIR:=include-fixed
+endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) \
Signature · 1 line
1.6.3.3
#2 lore raw
In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> The following changes since commit ba50538cfa513f7155f9c7fd30df22047f6eb751:
Thomas> Peter Korsgaard (1):
Thomas> CHANGES: add ipsec-tools/libgtk2/madplay/netsnmp/pango/sylpheed/openmotif/xpdf

Thomas> are available in the git repository at:

Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot gcc-target-fix

Thanks, committed.

Long term we should invert the test, so BR will do the right thing automatically for new GCC versions.

Signature · 1 line
Bye, Peter Korsgaard