All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-08 16:27 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 16:27 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-08 09:27:25 -0700 (Sun, 08 Jul 2007)
New Revision: 19039

Log:
- unify the GCC_WITH_ configure options and make them active


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-08 13:55:49 UTC (rev 19038)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-08 16:27:25 UTC (rev 19039)
@@ -47,7 +47,20 @@
 SOFT_FLOAT_CONFIG_OPTION:=
 TARGET_SOFT_FLOAT:=
 ARCH_FPU_SUFFIX:=
+# some additional defaults
+ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ARCH))),)
+# ")))
+GCC_WITH_ARCH:=--with-arch=$(BR2_GCC_TARGET_ARCH)
 endif
+ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_TUNE))),)
+# ")))
+GCC_WITH_TUNE:=--with-tune=$(BR2_GCC_TARGET_TUNE)
+endif
+ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ABI))),)
+# ")))
+GCC_WITH_ABI:=--with-tune=$(BR2_GCC_TARGET_ABI)
+endif
+endif
 
 TARGET_GCC_FLAGS= CFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
 	CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-08 13:55:49 UTC (rev 19038)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-08 16:27:25 UTC (rev 19039)
@@ -173,7 +173,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $@
 
@@ -233,7 +233,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
@@ -366,7 +366,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
@@ -400,10 +400,6 @@
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-#XXX: FIXME: cleanup BR2_ARCH selection and establish BR2_CPU
-#GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
-#GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
-#GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
 endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 13:55:49 UTC (rev 19038)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 16:27:25 UTC (rev 19039)
@@ -170,7 +170,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $@
 
@@ -231,7 +231,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
@@ -366,7 +366,7 @@
 		$(THREADS) \
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
-		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
+		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
@@ -400,10 +400,6 @@
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-#XXX: FIXME: cleanup BR2_ARCH selection and establish BR2_CPU
-#GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
-#GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
-#GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
 endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-03-01 20:20 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-03-01 20:20 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-03-01 20:20:09 +0000 (Sun, 01 Mar 2009)
New Revision: 25472

Log:
toolchain/gcc: libstdcpp dependency was listed twice

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-03-01 04:50:18 UTC (rev 25471)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-03-01 20:20:09 UTC (rev 25472)
@@ -88,7 +88,6 @@
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/libgcj*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/objc*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/fortran*)\
-$(wildcard $(BR2_DEPENDS_DIR)/br2/install/libstdcpp*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/prefer/ima*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/toolchain/sysroot*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/use/sjlj/exceptions*)\

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-30 13:34 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-30 13:34 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-30 13:34:35 +0000 (Fri, 30 Jan 2009)
New Revision: 25165

Log:
toolchain/gcc: remove unused gcc 3.x cruft from 4.x makefile (sysroot)

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-30 11:35:04 UTC (rev 25164)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-30 13:34:35 UTC (rev 25165)
@@ -56,9 +56,6 @@
 GCC_STRIP_HOST_BINARIES:=nope
 GCC_SRC_DIR:=$(GCC_DIR)
 
-ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
-GCC_NO_MPFR:=y
-endif
 ifeq ($(findstring x4.0.,x$(GCC_VERSION)),x4.0.)
 GCC_NO_MPFR:=y
 endif
@@ -335,27 +332,7 @@
 			$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
 		done; \
 	)
-	#
-	# Now for the ugly 3.3.x soft float hack...
-	#
-ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
-	# Make sure we have a soft float specs file for this arch
-	if [ ! -f toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float ]; then \
-		echo soft float configured but no specs file for this arch; \
-		/bin/false; \
-	fi
-	# Replace specs file with one that defaults to soft float mode.
-	if [ ! -f $(STAGING_DIR)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs ]; then \
-		echo staging dir specs file is missing; \
-		/bin/false; \
-	fi
-	cp toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float $(STAGING_DIR)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
-endif
-endif
-	#
-	# Ok... that's enough of that.
-	#
+
 	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
@@ -456,11 +433,7 @@
 #
 # gcc-lib dir changes names to gcc with 3.4.mumble
 #
-ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
-GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
-else
 GCC_LIB_SUBDIR=lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
-endif
 # sigh... we need to find a better way
 ifeq ($(findstring x4.0.,x$(GCC_VERSION)),x4.0.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
@@ -487,20 +460,7 @@
 		$(MAKE1) -C $(GCC_BUILD_DIR3) install
 	# Remove broken specs file (cross compile flag is set).
 	rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
-	#
-	# Now for the ugly 3.3.x soft float hack...
-	#
-ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
-	# Add a specs file that defaults to soft float mode.
-	cp toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float $(TARGET_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
-	# Make sure gcc does not think we are cross compiling
-	$(SED) "s/^1/0/;" $(TARGET_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
-endif
-endif
-	#
-	# Ok... that's enough of that.
-	#
+
 	-(cd $(TARGET_DIR)/bin && find -type f | xargs $(STRIPCMD) > /dev/null 2>&1)
 	-(cd $(TARGET_DIR)/usr/bin && find -type f | xargs $(STRIPCMD) > /dev/null 2>&1)
 	-(cd $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR) && $(STRIPCMD) cc1 cc1plus collect2 > /dev/null 2>&1)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-29 19:24 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-29 19:24 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-29 19:24:31 +0000 (Thu, 29 Jan 2009)
New Revision: 25133

Log:
toolchain/gcc: remove ancient (and unused) i386 softfloat patch

Removed:
   trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 19:24:31 UTC (rev 25133)
@@ -159,10 +159,6 @@
 ifeq ("$(strip $(ARCH))","armeb")
 	toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc/$(GCC_VERSION) arm-softfloat.patch.conditional
 endif
-	# Not yet updated to 3.4.1.
-	#ifeq ("$(strip $(ARCH))","i386")
-	#toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc i386-gcc-soft-float.patch
-	#endif
 endif
 	touch $@
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 19:24:31 UTC (rev 25133)
@@ -179,10 +179,6 @@
 ifeq ("$(strip $(ARCH))","armeb")
 	toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc/$(GCC_VERSION) arm-softfloat.patch.conditional
 endif
-	# Not yet updated to 3.4.1.
-	#ifeq ("$(strip $(ARCH))","i386")
-	#toolchain/patch-kernel.sh $(GCC_DIR) toolchain/gcc i386-gcc-soft-float.patch
-	#endif
 endif
 	touch $@
 

Deleted: trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch	2009-01-29 19:13:53 UTC (rev 25132)
+++ trunk/buildroot/toolchain/gcc/i386-gcc-soft-float.patch	2009-01-29 19:24:31 UTC (rev 25133)
@@ -1,61 +0,0 @@
-diff -urN gcc-3.3.2-orig/gcc/config/i386/i386.h gcc-3.3.2/gcc/config/i386/i386.h
---- gcc-3.3.2-orig/gcc/config/i386/i386.h	2003-06-25 16:18:31.000000000 -0500
-+++ gcc-3.3.2/gcc/config/i386/i386.h	2003-10-22 01:46:57.000000000 -0500
-@@ -653,6 +653,7 @@
- /* Define for XFmode or TFmode extended real floating point support.
-    The XFmode is specified by i386 ABI, while TFmode may be faster
-    due to alignment and simplifications in the address calculations.  */
-+#if 0
- #define LONG_DOUBLE_TYPE_SIZE (TARGET_128BIT_LONG_DOUBLE ? 128 : 96)
- #define MAX_LONG_DOUBLE_TYPE_SIZE 128
- #ifdef __x86_64__
-@@ -660,6 +661,17 @@
- #else
- #define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 96
- #endif
-+#else
-+	  /* Set up for x86 soft float with 64-bit long doubles, since that's
-+	   * all the soft float emulation supports. */
-+#define LONG_DOUBLE_TYPE_SIZE (TARGET_128BIT_LONG_DOUBLE ? 128 : (TARGET_80387 ? 96 : 64))
-+#define MAX_LONG_DOUBLE_TYPE_SIZE 128
-+#ifdef __x86_64__
-+#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE 128
-+#else
-+#define LIBGCC2_LONG_DOUBLE_TYPE_SIZE (TARGET_80387 ? 96 : 64)
-+#endif
-+#endif
- 
- /* Set the value of FLT_EVAL_METHOD in float.h.  When using only the
-    FPU, assume that the fpcw is set to extended precision; when using
-diff -urN gcc-3.3.2-orig/gcc/config/t-linux gcc-3.3.2/gcc/config/t-linux
---- gcc-3.3.2-orig/gcc/config/t-linux-uclibc	2003-06-04 11:56:11.000000000 -0500
-+++ gcc-3.3.2/gcc/config/t-linux-uclibc	2003-10-22 01:46:39.000000000 -0500
-@@ -21,3 +21,28 @@
- LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \
-   $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
- LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h
-+
-+##############################################
-+# We want fine grained libraries, so use the new code to build the
-+# floating point emulation libraries.
-+FPBIT = fp-bit.c
-+DPBIT = dp-bit.c
-+
-+#LIB2FUNCS_EXTRA = xp-bit.c
-+
-+dp-bit.c: $(srcdir)/config/fp-bit.c
-+	echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
-+	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
-+	echo '#endif'           >> dp-bit.c
-+	cat $(srcdir)/config/fp-bit.c >> dp-bit.c
-+
-+fp-bit.c: $(srcdir)/config/fp-bit.c
-+	echo '#define FLOAT' > fp-bit.c
-+	echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
-+	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
-+	echo '#endif'           >> fp-bit.c
-+	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-+
-+#MULTILIB_OPTIONS = msoft-float
-+#MULTILIB_DIRNAMES = soft-float
-+

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-29 19:13 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-29 19:13 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-29 19:13:53 +0000 (Thu, 29 Jan 2009)
New Revision: 25132

Log:
toolchain/gcc: remove unused GCC_ENABLE_CLOCALE

This variable was introduced in r17046 (add gfortran support,
2006-12-22) and wasn't used even there.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 17:52:39 UTC (rev 25131)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
@@ -123,10 +123,6 @@
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
-ifneq ($(BR2_ENABLE_LOCALE),y)
-GCC_ENABLE_CLOCALE:=--disable-clocale
-endif
-
 HOST_SOURCE+=gcc-source
 
 #############################################################

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 17:52:39 UTC (rev 25131)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-29 19:13:53 UTC (rev 25132)
@@ -133,10 +133,6 @@
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
-ifneq ($(BR2_ENABLE_LOCALE),y)
-GCC_ENABLE_CLOCALE:=--disable-clocale
-endif
-
 ifeq ($(BR2_KERNEL_HURD),y)
 EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
 endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-22 11:18 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-22 11:18 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-22 11:18:44 +0000 (Thu, 22 Jan 2009)
New Revision: 24961

Log:
toolchain/gcc: make version detection more robust

Thanks to Bernhard for noticing (and less so for causing the problem in
the first place :P)

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 11:01:56 UTC (rev 24960)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 11:18:44 UTC (rev 24961)
@@ -347,7 +347,7 @@
 	# Now for the ugly 3.3.x soft float hack...
 	#
 ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring 3.3.,$(GCC_VERSION)),3.3.)
+ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
 	# Make sure we have a soft float specs file for this arch
 	if [ ! -f toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float ]; then \
 		echo soft float configured but no specs file for this arch; \
@@ -464,20 +464,20 @@
 #
 # gcc-lib dir changes names to gcc with 3.4.mumble
 #
-ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
+ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 else
 GCC_LIB_SUBDIR=lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
 # sigh... we need to find a better way
-ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
+ifeq ($(findstring x4.0.,x$(GCC_VERSION)),x4.0.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
+ifeq ($(findstring x4.1.,x$(GCC_VERSION)),x4.1.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
-ifneq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
+ifeq ($(findstring x4.2,x$(GCC_VERSION)),x4.2)
+ifneq ($(findstring x4.2.,x$(GCC_VERSION)),x4.2.)
 REAL_GCC_VERSION=$(shell cat $(GCC_SRC_DIR)/gcc/BASE-VER)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
 else
@@ -485,7 +485,7 @@
 endif
 endif
 GCC_INCLUDE_DIR:=include
-ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
+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
@@ -499,7 +499,7 @@
 	# Now for the ugly 3.3.x soft float hack...
 	#
 ifeq ($(BR2_SOFT_FLOAT),y)
-ifeq ($(findstring 3.3.,$(GCC_VERSION)),3.3.)
+ifeq ($(findstring x3.3.,x$(GCC_VERSION)),x3.3.)
 	# Add a specs file that defaults to soft float mode.
 	cp toolchain/gcc/$(GCC_VERSION)/specs-$(ARCH)-soft-float $(TARGET_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
 	# Make sure gcc does not think we are cross compiling

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-22 10:04 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-22 10:04 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-22 10:04:30 +0000 (Thu, 22 Jan 2009)
New Revision: 24957

Log:
toolchain/gcc: fix target-gcc for 4.3.x

Includes are in include-fixed and GCC_LIB_SUBDIR needs to be set like for
the rest of 4.x

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 09:50:29 UTC (rev 24956)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2009-01-22 10:04:30 UTC (rev 24957)
@@ -484,6 +484,11 @@
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
 endif
+GCC_INCLUDE_DIR:=include
+ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
+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) \
@@ -514,10 +519,10 @@
 	#rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
 	#	$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
 	# Work around problem of missing syslimits.h
-	if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/include/syslimits.h ]; then \
+	if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h ]; then \
 		echo "warning: working around missing syslimits.h"; \
-		cp -f $(STAGING_DIR)/$(GCC_LIB_SUBDIR)/include/syslimits.h \
-			$(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/include/; \
+		cp -f $(STAGING_DIR)/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h \
+			$(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/; \
 	fi
 	# Make sure we have 'cc'.
 	if [ ! -e $(TARGET_DIR)/usr/bin/cc ]; then \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-17 22:38 Frank Hoeflich
  2009-01-17 23:53 ` Shinya Kuribayashi
  0 siblings, 1 reply; 170+ messages in thread
From: Frank Hoeflich @ 2009-01-17 22:38 UTC (permalink / raw)
  To: buildroot

Shinya:

    I believe you will find messages similar to the following in your config.log:

/tmp/br/powerpc/toolchain_build_powerpc/gcc-4.3.2-initial/./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory

I had a similar problem building for an ARM target with a Fedora Core 6 host using gcc 4.1.1 as my *host* compiler, a clean tree and Peter's br-build-ARCH.sh script.  Hamish's post of 1/13/09 with the subject "Re: [Buildroot] arch support" seemed to indicate that this failure always occurs with host gcc 4.1.2 but could work with a host gcc 4.3.2.  I repeated the build on a clean unpack of the same tree in Fedora 9 (which has gcc 4.3.0 out of the box) and this problem went away.  If you have a downrev host gcc, try upgrading it - the rc1 candidate should build.

    If the BR tools aren't going to flag this sort of downrev host tool issue explicitly, there should at least be a note in the docs about it somewhere (e.g. host gcc version 4.1.1-2 is known to be too old to build this BR release, use at least 4.3.0-2).

--Frank

>From: "Peter Korsgaard" <jacmet@uclibc.org>
>To: "Shinya Kuribayashi" <skuribay@ruby.dti.ne.jp>
>Cc: buildroot at uclibc.org
>>>>> "Shinya" == Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> writes:

>>> -    default BR2_GCC_VERSION_4_2_4 if !BR2_avr32
>>> +    default BR2_GCC_VERSION_4_3_2 if !BR2_avr32
>>> default BR2_GCC_VERSION_4_2_3 if BR2_avr32
>>> help
>>> Select the version of gcc you wish to use.
>
>Shinya> GCC 4.3.2 bootstrap failed;  mips, mips4 and o32 on Ubuntu 8.04.01.
>
>Strange, mips worked here (Debian)
>
>uclibc.org/~jacmet/br/mips.log
>
>And 4.2.4 works for you?
>
>-- 
>Bye, Peter Korsgaard


      

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-16 14:13 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-16 14:13 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-16 14:13:50 +0000 (Fri, 16 Jan 2009)
New Revision: 24881

Log:
toolchain/gcc: mark old versions as deprecated

Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 14:13:46 UTC (rev 24880)
+++ trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 14:13:50 UTC (rev 24881)
@@ -22,29 +22,35 @@
 	config BR2_GCC_VERSION_4_1_2
 		depends on !BR2_nios2
 		depends on BR2_EXT_GCC_VERSION_4_1_2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_1
 		depends on !BR2_nios2
 		depends on BR2_EXT_GCC_VERSION_4_2_1
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.1"
 
 	config BR2_GCC_VERSION_4_2_2
 		depends on BR2_avr32
 		depends on BR2_EXT_GCC_VERSION_4_2_2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.2"
 
 	config BR2_GCC_VERSION_4_2_3
 		depends on !BR2_nios2
-		depends on BR2_EXT_GCC_VERSION_4_2_3 || BR2_DEPRECATED
+		depends on BR2_EXT_GCC_VERSION_4_2_3
+		depends on BR2_DEPRECATED || BR2_avr32
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4
 		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_RECENT || BR2_DEPRECATED
 		bool "gcc 4.2.4"
 
 	config BR2_GCC_VERSION_4_3_1
 		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_RECENT || BR2_DEPRECATED
 		bool "gcc 4.3.1"
 
 	config BR2_GCC_VERSION_4_3_2

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2009-01-16 14:13 jacmet at uclibc.org
  2009-01-16 16:36 ` Sven Neumann
  2009-01-17 15:37 ` Shinya Kuribayashi
  0 siblings, 2 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2009-01-16 14:13 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-16 14:13:46 +0000 (Fri, 16 Jan 2009)
New Revision: 24880

Log:
toolchain/gcc: default to 4.3.2 for !AVR32

Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 13:56:23 UTC (rev 24879)
+++ trunk/buildroot/toolchain/gcc/Config.in	2009-01-16 14:13:46 UTC (rev 24880)
@@ -4,7 +4,7 @@
 
 choice
 	prompt "GCC compiler Version"
-	default BR2_GCC_VERSION_4_2_4 if !BR2_avr32
+	default BR2_GCC_VERSION_4_3_2 if !BR2_avr32
 	default BR2_GCC_VERSION_4_2_3 if BR2_avr32
 	help
 	  Select the version of gcc you wish to use.

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-10-02 15:02 egtvedt at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: egtvedt at uclibc.org @ 2008-10-02 15:02 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-10-02 08:02:38 -0700 (Thu, 02 Oct 2008)
New Revision: 23579

Log:
gcc: make installation of shared libraries multi-project safe

This patch modifies the rule for installing the shared libraries into the
project_foo/.../autotools-stamps directory. This will make the installation of
GCC shared libraries be multi-project safe.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 15:02:38 UTC (rev 23579)
@@ -330,7 +330,7 @@
 	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
-$(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed
+$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed: $(GCC_BUILD_DIR2)/.installed
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -355,10 +355,12 @@
 	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security \
 		$(TARGET_DIR)/usr/lib/security/
 endif
+	mkdir -p $(@D)
 	touch $@
 
 cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
-cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed \
+	$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed \
 	$(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
@@ -383,7 +385,7 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.libs_installed $(GCC_TARGET_PREREQ)
+$(GCC_BUILD_DIR3)/.prepared: $(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed $(GCC_TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
 	touch $@
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 15:02:38 UTC (rev 23579)
@@ -359,7 +359,7 @@
 	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
-$(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed
+$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed: $(GCC_BUILD_DIR2)/.installed
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -385,12 +385,13 @@
 	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security \
 		$(TARGET_DIR)/usr/lib/security/
 endif
+	mkdir -p $(@D)
 	touch $@
 
 cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
 cross_compiler gcc: uclibc-configured binutils gcc_initial \
-	$(LIBFLOAT_TARGET) uclibc \
-	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+	$(LIBFLOAT_TARGET) uclibc $(GCC_BUILD_DIR2)/.installed \
+	$(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed \
 	$(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
@@ -412,7 +413,7 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.libs_installed $(GCC_TARGET_PREREQ)
+$(GCC_BUILD_DIR3)/.prepared: $(PROJECT_BUILD_DIR)/autotools-stamps/gcc_libs_target_installed $(GCC_TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
 	touch $@
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-10-02 14:32 egtvedt at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: egtvedt at uclibc.org @ 2008-10-02 14:32 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-10-02 07:32:07 -0700 (Thu, 02 Oct 2008)
New Revision: 23578

Log:
gcc: make sure that /usr/lib exists on target before installing shared libs

On very lite systems the /usr/lib directory might not exist before libstdc++ is
installed. This patch makes sure the directory exists.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>



Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 14:24:45 UTC (rev 23577)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
@@ -340,6 +340,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
+	mkdir -p $(TARGET_DIR)/usr/lib
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 14:24:45 UTC (rev 23577)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-10-02 14:32:07 UTC (rev 23578)
@@ -369,6 +369,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
+	mkdir -p $(TARGET_DIR)/usr/lib
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-08-22 13:59 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-08-22 13:59 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-08-22 06:59:06 -0700 (Fri, 22 Aug 2008)
New Revision: 23178

Log:
gcc: only use -mfloat-abi for ARM, use -msoft-float for other archs

Patch by Wade Berrier.

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2008-08-22 11:16:52 UTC (rev 23177)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2008-08-22 13:59:06 UTC (rev 23178)
@@ -40,8 +40,12 @@
 ifeq ($(BR2_SOFT_FLOAT_FP),y)
 TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
 else # no fp at all
+ifeq ($(BR2_arm),y) # only set float-abi for arm
 TARGET_SOFT_FLOAT:=-mfloat-abi=soft
+else
+TARGET_SOFT_FLOAT:=-msoft-float
 endif
+endif
 else # not gcc-4.x
 TARGET_SOFT_FLOAT:=-msoft-float
 endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-07-08 19:31 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2008-07-08 19:31 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2008-07-08 12:31:30 -0700 (Tue, 08 Jul 2008)
New Revision: 22693

Log:
Fix AVR32 gcc patching, when sysroot option is not enabled

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-07-08 14:14:36 UTC (rev 22692)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-07-08 19:31:30 UTC (rev 22693)
@@ -36,7 +36,7 @@
 ifneq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 GCC_SITE:=$(VENDOR_SITE)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)$(VENDOR_SUFFIX)$(VENDOR_GCC_RELEASE)
-GCC_PATCH_DIR:=$(VENDOR_PATCH_DIR)/gcc-$(GCC_OFFICIAL_VER)
+GCC_PATCH_DIR:=toolchain/gcc/ext_source/$(VENDOR_PATCH_DIR)/$(GCC_OFFICIAL_VERSION)
 endif
 
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-21 19:47 jacmet at uclibc.org
  2008-06-22 10:25 ` Luigi 'Comio' Mantellini
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-21 19:47 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-21 12:47:17 -0700 (Sat, 21 Jun 2008)
New Revision: 22463

Log:
toolchain/gcc: use --disable-decimal-float for 4.3.x


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-20 21:45:27 UTC (rev 22462)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-21 19:47:17 UTC (rev 22463)
@@ -141,6 +141,10 @@
 EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
 endif
 
+ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
+GCC_DECIMAL_FLOAT:=--disable-decimal-float
+endif
+
 HOST_SOURCE+=gcc-source
 
 $(DL_DIR)/$(GCC_SOURCE):
@@ -211,6 +215,7 @@
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
+		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
@@ -284,6 +289,7 @@
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
+		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
@@ -429,6 +435,7 @@
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
+		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-19 19:06 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-19 19:06 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-19 12:05:59 -0700 (Thu, 19 Jun 2008)
New Revision: 22452

Log:
toolchain/gcc: mark old versions as deprecated


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2008-06-19 08:11:51 UTC (rev 22451)
+++ trunk/buildroot/toolchain/gcc/Config.in	2008-06-19 19:05:59 UTC (rev 22452)
@@ -11,6 +11,7 @@
 
 	config BR2_GCC_VERSION_3_4_6
 		depends on !BR2_avr32
+		depends on BR2_DEPRECATED
 		bool "gcc 3.4.6"
 
 	config BR2_GCC_VERSION_4_0_4
@@ -30,6 +31,7 @@
 
 	config BR2_GCC_VERSION_4_2_3
 		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-18 15:46 jacmet at uclibc.org
  2008-06-19  0:38 ` Hamish Moffatt
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-18 15:46 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-18 08:46:48 -0700 (Wed, 18 Jun 2008)
New Revision: 22430

Log:
toolchain/gcc: use $(@D)


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-18 15:45:00 UTC (rev 22429)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-18 15:46:48 UTC (rev 22430)
@@ -152,7 +152,7 @@
 	mkdir -p $(TOOL_BUILD_DIR)
 	rm -rf $(GCC_DIR)
 	$(GCC_CAT) $(DL_DIR)/$(GCC_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
-	$(CONFIG_UPDATE) $(GCC_DIR)
+	$(CONFIG_UPDATE) $(@D)
 	touch $@
 
 gcc-patched: $(GCC_DIR)/.patched

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-18 15:42 jacmet at uclibc.org
  2008-06-18 16:33 ` Thiago A. Corrêa
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-18 15:42 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-18 08:42:50 -0700 (Wed, 18 Jun 2008)
New Revision: 22428

Log:
toolchain/gcc: use depends on instead of depends


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/Config.in.2


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2008-06-18 15:40:43 UTC (rev 22427)
+++ trunk/buildroot/toolchain/gcc/Config.in	2008-06-18 15:42:50 UTC (rev 22428)
@@ -14,37 +14,36 @@
 		bool "gcc 3.4.6"
 
 	config BR2_GCC_VERSION_4_0_4
-		depends !BR2_avr32 && !BR2_nios2
-		depends BR2_DEPRECATED
+		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.0.4"
 
 	config BR2_GCC_VERSION_4_1_2
-		depends !BR2_nios2
-		depends BR2_EXT_GCC_VERSION_4_1_2
+		depends on !BR2_nios2
+		depends on BR2_EXT_GCC_VERSION_4_1_2
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_1
-		depends !BR2_nios2
-		depends BR2_EXT_GCC_VERSION_4_2_1
+		depends on !BR2_nios2
+		depends on BR2_EXT_GCC_VERSION_4_2_1
 		bool "gcc 4.2.1"
 
 	config BR2_GCC_VERSION_4_2_3
-		depends !BR2_nios2 && !BR2_avr32
+		depends on !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4
-		depends !BR2_nios2 && !BR2_avr32
+		depends on !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.4"
 
 #	config BR2_GCC_VERSION_4_3
 #		depends !BR2_avr32 && !BR2_nios2
 #		select BR2_GCC_IS_SNAP
 #		bool "gcc 4.3"
-
 endchoice
 
 config BR2_GCC_IS_SNAP
-	depends !BR2_avr32
+	depends on !BR2_avr32
 	bool
 	default n
 
@@ -61,7 +60,7 @@
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
 	default "20070921"
-	depends BR2_GCC_IS_SNAP
+	depends on BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:
 	  YYYYMMDD

Modified: trunk/buildroot/toolchain/gcc/Config.in.2
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in.2	2008-06-18 15:40:43 UTC (rev 22427)
+++ trunk/buildroot/toolchain/gcc/Config.in.2	2008-06-18 15:42:50 UTC (rev 22428)
@@ -8,7 +8,7 @@
 config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	string "Additional target gcc options"
 	default ""
-	depends BR2_PACKAGE_GCC_TARGET
+	depends on BR2_PACKAGE_GCC_TARGET
 	help
 	  Any additional target gcc options you may want to include....
 	  Including, but not limited to --disable-checking etc.

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-17 13:33 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17 13:33 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-17 06:33:02 -0700 (Tue, 17 Jun 2008)
New Revision: 22402

Log:
toolchain/gcc: use $(STRIP_STRIP_UNNEEDED)


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 13:30:35 UTC (rev 22401)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 13:33:02 UTC (rev 22402)
@@ -336,12 +336,12 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 13:30:35 UTC (rev 22401)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 13:33:02 UTC (rev 22402)
@@ -349,13 +349,13 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-17 13:28 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17 13:28 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-17 06:28:37 -0700 (Tue, 17 Jun 2008)
New Revision: 22400

Log:
toolchain/gcc-4.x: strip cross libgcc / libstdc++


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 12:54:36 UTC (rev 22399)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-06-17 13:28:37 UTC (rev 22400)
@@ -349,11 +349,13 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-17 12:54 jacmet at uclibc.org
  2008-06-17 13:10 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-17 12:54 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-17 05:54:36 -0700 (Tue, 17 Jun 2008)
New Revision: 22399

Log:
toolchain/gcc-3.x: strip cross libgcc / libstdc++ with cross-strip, not host.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 12:45:39 UTC (rev 22398)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-06-17 12:54:36 UTC (rev 22399)
@@ -336,12 +336,12 @@
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
-	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	-$(STRIPCMD) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-06-06 12:49 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-06-06 12:49 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-06 05:49:53 -0700 (Fri, 06 Jun 2008)
New Revision: 22249

Log:
toolchain: also use arch/tune/abi options when softfloat is enabled

The ifeq/endif nesting was wrong, so arch/tune/abi options where only set in
the non-softfloat case.


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2008-06-06 10:31:39 UTC (rev 22248)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2008-06-06 12:49:53 UTC (rev 22249)
@@ -50,6 +50,8 @@
 SOFT_FLOAT_CONFIG_OPTION:=
 TARGET_SOFT_FLOAT:=
 ARCH_FPU_SUFFIX:=
+endif
+
 # some additional defaults
 ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ARCH))),)
 # ")))
@@ -63,7 +65,6 @@
 # ")))
 GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI)
 endif
-endif
 
 # AVR32 GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-04-04 14:16 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2008-04-04 14:16 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-04-04 07:16:06 -0700 (Fri, 04 Apr 2008)
New Revision: 21636

Log:
toolchain/gcc: do not try to strip *-embedspu


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-04-04 12:23:28 UTC (rev 21635)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2008-04-04 14:16:06 UTC (rev 21636)
@@ -286,7 +286,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug %-embedspu,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-04-04 12:23:28 UTC (rev 21635)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2008-04-04 14:16:06 UTC (rev 21636)
@@ -299,7 +299,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug %-embedspu,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:07 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:07 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:07:53 -0700 (Sun, 30 Mar 2008)
New Revision: 21576

Log:
* Remove legacy GCC 4.1.x versions


Removed:
   trunk/buildroot/toolchain/gcc/4.1.0/
   trunk/buildroot/toolchain/gcc/4.1.1/


Changeset:

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:06 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:06 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:06:38 -0700 (Sun, 30 Mar 2008)
New Revision: 21575

Log:
* Remove legacy GCC 4.0.x versions


Removed:
   trunk/buildroot/toolchain/gcc/4.0.0/
   trunk/buildroot/toolchain/gcc/4.0.1/
   trunk/buildroot/toolchain/gcc/4.0.2/
   trunk/buildroot/toolchain/gcc/4.0.3/


Changeset:

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:05 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:05 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:05:22 -0700 (Sun, 30 Mar 2008)
New Revision: 21574

Log:
* Remove legacy GCC 3.4.x versions


Removed:
   trunk/buildroot/toolchain/gcc/3.4.2/
   trunk/buildroot/toolchain/gcc/3.4.3/
   trunk/buildroot/toolchain/gcc/3.4.4/
   trunk/buildroot/toolchain/gcc/3.4.5/


Changeset:

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2008-03-30  8:04 nkukard at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: nkukard at uclibc.org @ 2008-03-30  8:04 UTC (permalink / raw)
  To: buildroot

Author: nkukard
Date: 2008-03-30 01:04:14 -0700 (Sun, 30 Mar 2008)
New Revision: 21573

Log:
Remove legacy GCC 3.3.x versions


Removed:
   trunk/buildroot/toolchain/gcc/3.3.5/
   trunk/buildroot/toolchain/gcc/3.3.6/


Changeset:

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-12-17 11:37 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-12-17 11:37 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-12-17 03:37:47 -0800 (Mon, 17 Dec 2007)
New Revision: 20655

Log:
revert 20646 rev (gcc-cc_links-fix.diff), it's broken for arm as mentioned in 1764 issue

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-16 17:22:33 UTC (rev 20654)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-17 11:37:47 UTC (rev 20655)
@@ -293,8 +293,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \
+		ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-16 17:22:33 UTC (rev 20654)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-17 11:37:47 UTC (rev 20655)
@@ -306,8 +306,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \
+		ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-12-13 12:10 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-12-13 12:10 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-12-13 04:09:56 -0800 (Thu, 13 Dec 2007)
New Revision: 20646

Log:
fix gcc 3.x/4.x symlinks to cc

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-13 12:01:48 UTC (rev 20645)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-12-13 12:09:56 UTC (rev 20646)
@@ -293,8 +293,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/usr/bin/gcc ]; then \
-		ln -snf gcc $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
+	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
+		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-13 12:01:48 UTC (rev 20645)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-12-13 12:09:56 UTC (rev 20646)
@@ -306,8 +306,8 @@
 		ln -snf $(REAL_GNU_TARGET_NAME)-gcc \
 			$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc; \
 	fi
-	if [ ! -e $(STAGING_DIR)/usr/bin/cc ]; then \
-		ln -snf gcc $(STAGING_DIR)/usr/bin/cc; \
+	if [ ! -e $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc ]; then \
+		ln -snf gcc $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin/cc; \
 	fi
 	# Set up the symlinks to enable lying about target name.
 	set -e; \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-20 18:09 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-10-20 18:09 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-10-20 11:09:53 -0700 (Sat, 20 Oct 2007)
New Revision: 20306

Log:
'make source' command working again for gcc

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-20 14:54:58 UTC (rev 20305)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-20 18:09:53 UTC (rev 20306)
@@ -127,6 +127,7 @@
 GCC_ENABLE_CLOCALE:=--disable-clocale
 endif
 
+HOST_SOURCE+=gcc-source
 
 #############################################################
 #

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-20 14:54:58 UTC (rev 20305)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-20 18:09:53 UTC (rev 20306)
@@ -141,6 +141,8 @@
 EXTRA_GCC1_CONFIG_OPTIONS+=--without-headers
 endif
 
+HOST_SOURCE+=gcc-source
+
 $(DL_DIR)/$(GCC_SOURCE):
 	mkdir -p $(DL_DIR)
 	$(WGET) -P $(DL_DIR) $(GCC_SITE)/$(GCC_SOURCE)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-19 17:51 vanokuten at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: vanokuten at uclibc.org @ 2007-10-19 17:51 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-10-19 10:51:00 -0700 (Fri, 19 Oct 2007)
New Revision: 20298

Log:
fix libmudflap build failure for 4.1.2 gcc - pass CPP=<target_cpp>, thanks to Hamish Moffatt

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-19 17:41:58 UTC (rev 20297)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-19 17:51:00 UTC (rev 20298)
@@ -242,6 +242,7 @@
 	(cd $(GCC_BUILD_DIR2); rm -rf config.cache; \
 		$(HOST_CONFIGURE_OPTS) \
 		GCC=$(TARGET_CROSS)gcc \
+		CPP=$(TARGET_CROSS)cpp \
 		LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR) \
@@ -267,7 +268,7 @@
 	touch $@
 
 $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
-	PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(GCC_BUILD_DIR2) all
+	PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) CPP=$(TARGET_CROSS)cpp -C $(GCC_BUILD_DIR2) all
 	touch $@
 
 $(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-12 21:01 ulf at uclibc.org
  2007-10-13  8:49 ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-12 21:01 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007)
New Revision: 20237

Log:
Allow library copy to fail

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:18:27 UTC (rev 20236)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 21:01:41 UTC (rev 20237)
@@ -332,13 +332,13 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
 	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
-	cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
+	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 endif

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-12 15:18:27 UTC (rev 20236)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-12 21:01:41 UTC (rev 20237)
@@ -345,12 +345,12 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \
 		$(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
-	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
 endif
 endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-12 15:14 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-12 15:14 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-12 08:14:46 -0700 (Fri, 12 Oct 2007)
New Revision: 20233

Log:
Do not copy shared C++ lib, unless one is built

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:12:55 UTC (rev 20232)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-12 15:14:46 UTC (rev 20233)
@@ -337,9 +337,11 @@
 	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
+endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
 	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-12 12:30 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-12 12:30 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-12 05:30:14 -0700 (Fri, 12 Oct 2007)
New Revision: 20226

Log:
Cannot copy shared c++ lib, if one has not been created

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-11 19:53:10 UTC (rev 20225)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-12 12:30:14 UTC (rev 20226)
@@ -349,9 +349,11 @@
 		$(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \
 		$(TARGET_DIR)/usr/lib/
 endif
+endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/
 	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-07 17:22 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-07 17:22 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-07 10:22:56 -0700 (Sun, 07 Oct 2007)
New Revision: 20193

Log:
Do not create directories, if they exist

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-07 17:06:26 UTC (rev 20192)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-10-07 17:22:56 UTC (rev 20193)
@@ -277,7 +277,7 @@
 	-C $(GCC_BUILD_DIR2) install
 	if [ -d "$(STAGING_DIR)/usr/lib64" ]; then \
 		if [ ! -e "$(STAGING_DIR)/usr/lib" ]; then \
-			mkdir "$(STAGING_DIR)/usr/lib"; \
+			mkdir -p "$(STAGING_DIR)/usr/lib"; \
 		fi; \
 		mv "$(STAGING_DIR)/usr/lib64/"* "$(STAGING_DIR)/usr/lib/"; \
 		rmdir "$(STAGING_DIR)/usr/lib64"; \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-07 17:06:26 UTC (rev 20192)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-07 17:22:56 UTC (rev 20193)
@@ -290,7 +290,7 @@
 		-C $(GCC_BUILD_DIR2) install
 	if [ -d "$(STAGING_DIR)/lib64" ]; then \
 		if [ ! -e "$(STAGING_DIR)/lib" ]; then \
-			mkdir "$(STAGING_DIR)/lib"; \
+			mkdir -p "$(STAGING_DIR)/lib"; \
 		fi; \
 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/"; \
 		rmdir "$(STAGING_DIR)/lib64"; \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 21:12 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-10-01 21:12 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-10-01 14:12:54 -0700 (Mon, 01 Oct 2007)
New Revision: 20166

Log:
Use the right Config for AVR32 gcc build

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-10-01 21:06:50 UTC (rev 20165)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-10-01 21:12:54 UTC (rev 20166)
@@ -14,9 +14,9 @@
 # AVR32 GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
-#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
+EXTRA_GCC_CONFIG_OPTIONS+=--disable-libssp
+EXTRA_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+#EXTRA_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
@@ -84,7 +84,7 @@
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
-#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 21:06 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-10-01 21:06 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-10-01 14:06:50 -0700 (Mon, 01 Oct 2007)
New Revision: 20165

Log:
- remove misplaced comment


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 18:04:42 UTC (rev 20164)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 21:06:50 UTC (rev 20165)
@@ -54,7 +54,7 @@
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=nope
-GCC_SRC_DIR=$(GCC_DIR) # for stage2 and stage3 compilers. Usually same as stage1
+GCC_SRC_DIR:=$(GCC_DIR)
 
 ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 GCC_NO_MPFR:=y

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 12:57 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-10-01 12:57 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-10-01 05:57:36 -0700 (Mon, 01 Oct 2007)
New Revision: 20162

Log:
- pass configure args for the -target compiler


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:56:24 UTC (rev 20161)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:57:36 UTC (rev 20162)
@@ -393,6 +393,7 @@
 $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
 	(cd $(GCC_BUILD_DIR3); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
+		$(TARGET_CONFIGURE_ARGS) \
 		$(TARGET_GCC_FLAGS) \
 		$(GCC_SRC_DIR)/configure \
 		--prefix=/usr \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-10-01 12:56 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-10-01 12:56 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-10-01 05:56:24 -0700 (Mon, 01 Oct 2007)
New Revision: 20161

Log:
- add additional EXTRA_GCC_CONFIG_OPTIONS for initial, cross and target compiler


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:05:12 UTC (rev 20160)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-10-01 12:56:24 UTC (rev 20161)
@@ -54,8 +54,8 @@
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)
 GCC_STRIP_HOST_BINARIES:=nope
+GCC_SRC_DIR=$(GCC_DIR) # for stage2 and stage3 compilers. Usually same as stage1
 
-
 ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 GCC_NO_MPFR:=y
 endif
@@ -63,14 +63,16 @@
 GCC_NO_MPFR:=y
 endif
 
+GCC_TARGET_PREREQ=
+GCC_STAGING_PREREQ=
+
 #############################################################
 #
 # Setup some initial stuff
 #
 #############################################################
 
-GCC_TARGET_PREREQ=
-GCC_STAGING_PREREQ=$(STAGING_DIR)/usr/lib/libc.a
+GCC_STAGING_PREREQ+=$(STAGING_DIR)/usr/lib/libc.a
 
 GCC_TARGET_LANGUAGES:=c
 
@@ -206,7 +208,9 @@
 		$(MULTILIB) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
-		$(EXTRA_GCC_CONFIG_OPTIONS))
+		$(EXTRA_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_GCC1_CONFIG_OPTIONS) \
+	)
 	touch $@
 
 $(GCC_BUILD_DIR1)/.compiled: $(GCC_BUILD_DIR1)/.configured
@@ -216,8 +220,6 @@
 gcc_initial=$(GCC_BUILD_DIR1)/.installed
 $(gcc_initial) $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled
 	PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc
-	#rm -f $(STAGING_DIR)/usr/bin/gccbug $(STAGING_DIR)/usr/bin/gcov
-	#rm -rf $(STAGING_DIR)/usr/info $(STAGING_DIR)/usr/man $(STAGING_DIR)/usr/share/doc $(STAGING_DIR)/usr/share/locale
 	touch $(gcc_initial)
 
 gcc_initial: uclibc-configured binutils $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
@@ -242,7 +244,7 @@
 # guarantees. mjn3
 
 GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
-$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ)
+$(GCC_BUILD_DIR2)/.configured: $(GCC_SRC_DIR)/.patched $(GCC_STAGING_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR2)
 	# Important! Required for limits.h to be fixed.
 	ln -snf ../include/ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/sys-include
@@ -250,7 +252,7 @@
 	#ln -snf ../lib $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
 	(cd $(GCC_BUILD_DIR2); rm -rf config.cache; \
 		$(HOST_CONFIGURE_OPTS) \
-		$(GCC_DIR)/configure \
+		$(GCC_SRC_DIR)/configure \
 		--prefix=$(BR2_SYSROOT_PREFIX)/usr \
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
@@ -271,7 +273,9 @@
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
-		$(EXTRA_GCC_CONFIG_OPTIONS))
+		$(EXTRA_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_GCC2_CONFIG_OPTIONS) \
+	)
 	touch $@
 
 $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
@@ -390,7 +394,7 @@
 	(cd $(GCC_BUILD_DIR3); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_GCC_FLAGS) \
-		$(GCC_DIR)/configure \
+		$(GCC_SRC_DIR)/configure \
 		--prefix=/usr \
 		--build=$(GNU_HOST_NAME) \
 		--host=$(REAL_GNU_TARGET_NAME) \
@@ -410,7 +414,9 @@
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
-		$(EXTRA_TARGET_GCC_CONFIG_OPTIONS))
+		$(EXTRA_TARGET_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_GCC3_CONFIG_OPTIONS) \
+	)
 	touch $@
 
 $(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured
@@ -435,7 +441,7 @@
 endif
 ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
 ifneq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
-REAL_GCC_VERSION=$(shell cat $(GCC_DIR)/gcc/BASE-VER)
+REAL_GCC_VERSION=$(shell cat $(GCC_SRC_DIR)/gcc/BASE-VER)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-29 20:44 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-29 20:44 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-29 13:44:30 -0700 (Sat, 29 Sep 2007)
New Revision: 20126

Log:
Revert modification of gcc, and make it AVR32 specific

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-29 20:21:38 UTC (rev 20125)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-29 20:44:30 UTC (rev 20126)
@@ -14,6 +14,9 @@
 # AVR32 GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
@@ -79,6 +82,9 @@
 # AVR32 target GCC configuration
 ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libssp
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+#EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--with-as=$(TARGET_CROSS)as
 endif
 
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 20:21:38 UTC (rev 20125)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 20:44:30 UTC (rev 20126)
@@ -187,7 +187,6 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
-		--with-as=$(TARGET_CROSS)as \
 		--disable-shared \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
@@ -252,8 +251,7 @@
 		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
-		--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
-		--disable-libssp \
+		--with-gnu-ld \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-29 17:32 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-29 17:32 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-29 10:32:58 -0700 (Sat, 29 Sep 2007)
New Revision: 20117

Log:
Use linke to build-time-tools, disable libssp which does not work for cross-compile

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 16:38:58 UTC (rev 20116)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-29 17:32:58 UTC (rev 20117)
@@ -252,8 +252,8 @@
 		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
-		--with-gnu-ld \
-		--with-as=$(TARGET_CROSS)as \
+		--with-build-time-tools=$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/bin \
+		--disable-libssp \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \
@@ -355,13 +355,14 @@
 	touch $@
 
 cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
-cross_compiler gcc: uclibc-configured binutils gcc_initial \
-	$(LIBFLOAT_TARGET) uclibc \
-	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
+cross_compiler gcc: gcc-config $(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
 	$(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
 
+gcc-config:uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) \
+	uclibc $(GCC_BUILD_DIR2)/.configured
+
 gcc-clean:
 	rm -rf $(GCC_BUILD_DIR2)
 	for prog in cpp gcc gcc-[0-9]* protoize unprotoize gcov gccbug cc; do \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-28 19:53 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-28 19:53 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-28 12:53:13 -0700 (Fri, 28 Sep 2007)
New Revision: 20092

Log:
Add bells and whistles to allow gcc-4.1.2-AVR32 buildprocess to progress further, not home yet though

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-28 19:51:06 UTC (rev 20091)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-28 19:53:13 UTC (rev 20092)
@@ -176,7 +176,7 @@
 $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
-		CC="$(HOSTCC)" \
+		$(HOST_CONFIGURE_OPTS) \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR)/usr \
 		--build=$(GNU_HOST_NAME) \
@@ -187,6 +187,7 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		--with-as=$(TARGET_CROSS)as \
 		--disable-shared \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
@@ -230,6 +231,7 @@
 # have something to do with "path translations" and possibly doesn't
 # affect gcc-target. However, I haven't tested gcc-target yet so no
 # guarantees. mjn3
+
 comma:=,
 GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
 $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(GCC_STAGING_PREREQ)
@@ -240,6 +242,7 @@
 	#ln -snf ../lib/ $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
 	(cd $(GCC_BUILD_DIR2); rm -rf config.cache; \
 		$(HOST_CONFIGURE_OPTS) \
+		GCC=$(TARGET_CROSS)gcc \
 		LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
 		$(GCC_DIR)/configure \
 		--prefix=$(STAGING_DIR) \
@@ -250,6 +253,7 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		--with-as=$(TARGET_CROSS)as \
 		$(GCC_WITH_HOST_GMP) \
 		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \
@@ -265,11 +269,14 @@
 	touch $@
 
 $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
-	PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) all
+	PATH=$(TARGET_PATH) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(GCC_BUILD_DIR2) all
 	touch $@
 
 $(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
-	PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) install
+	PATH=$(TARGET_PATH) \
+	$(MAKE) $(HOST_CONFIGURE_OPTS) \
+	LDFLAGS_FOR_TARGET="$(patsubst %,LDFLAGS+=-Wl$(comma)%,$(TARGET_LDFLAGS)) -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
+	-C $(GCC_BUILD_DIR2) install
 	if [ -d "$(STAGING_DIR)/usr/lib64" ]; then \
 		if [ ! -e "$(STAGING_DIR)/usr/lib" ]; then \
 			mkdir "$(STAGING_DIR)/usr/lib"; \
@@ -390,6 +397,7 @@
 		--with-gxx-include-dir=/usr/include/c++ \
 		--disable-__cxa_atexit \
 		--with-gnu-ld \
+		--with-gnu-as \
 		$(GCC_SHARED_LIBGCC) \
 		$(GCC_WITH_TARGET_GMP) \
 		$(GCC_WITH_TARGET_MPFR) \
@@ -407,7 +415,10 @@
 
 $(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured
 	PATH=$(TARGET_PATH) \
-	$(MAKE) -C $(GCC_BUILD_DIR3) all
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) \
+	CFLAGS_FOR_BUILD="-g -O2 $(HOST_CFLAGS)" \
+	$(TARGET_GCC_FLAGS) \
+	-C $(GCC_BUILD_DIR3) all
 	touch $@
 
 #
@@ -436,7 +447,11 @@
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) \
-	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(GCC_BUILD_DIR3) install
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) \
+	CFLAGS_FOR_BUILD="-g -O2 $(HOST_CFLAGS)" \
+	$(TARGET_GCC_FLAGS) \
+	DESTDIR=$(TARGET_DIR) \
+	-C $(GCC_BUILD_DIR3) install
 	# Remove broken specs file (cross compile flag is set).
 	rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
 	#

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-25 17:21 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-25 17:21 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-25 10:21:33 -0700 (Tue, 25 Sep 2007)
New Revision: 20023

Log:
- fix typo


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 16:39:22 UTC (rev 20022)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 17:21:33 UTC (rev 20023)
@@ -115,7 +115,7 @@
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
 	# >= 4.2.0 work fine without LARGEFILE
-	select BR2_LARGEFILE if BR2_GCC_SUPPORTS_SYSROOT
+	select BR2_LARGEFILE if !BR2_GCC_SUPPORTS_SYSROOT
 	select BR2_GCC_CROSS_CXX
 	help
 	  Build/install c++ compiler and libstdc++?

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-25 16:39 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-25 16:39 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-25 09:39:22 -0700 (Tue, 25 Sep 2007)
New Revision: 20022

Log:
- build a cross c++ compiler if we're asked to build libstdc++


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 14:45:26 UTC (rev 20021)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-25 16:39:22 UTC (rev 20022)
@@ -115,8 +115,8 @@
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
 	# >= 4.2.0 work fine without LARGEFILE
-	# huh? why so? select BR2_LARGEFILE
 	select BR2_LARGEFILE if BR2_GCC_SUPPORTS_SYSROOT
+	select BR2_GCC_CROSS_CXX
 	help
 	  Build/install c++ compiler and libstdc++?
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-23 21:23 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-23 21:23 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-23 14:23:10 -0700 (Sun, 23 Sep 2007)
New Revision: 19980

Log:
- rebuild compiler if libstdcpp setting was changed


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-23 20:46:44 UTC (rev 19979)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-23 21:23:10 UTC (rev 19980)
@@ -90,6 +90,7 @@
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/libgcj*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/objc*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/install/fortran*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/libstdcpp*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/prefer/ima*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/toolchain/sysroot*)\
 $(wildcard $(BR2_DEPENDS_DIR)/br2/use/sjlj/exceptions*)\

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-20  9:25 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-20  9:25 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-20 02:25:57 -0700 (Thu, 20 Sep 2007)
New Revision: 19904

Log:
- fix typo. This is an lxdialog bug for "depends on !!CONFIG_SYMBOL" where the double negation produces an error that is not reported, from the looks..


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-20 07:19:52 UTC (rev 19903)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-20 09:25:57 UTC (rev 19904)
@@ -119,7 +119,7 @@
 
 config BR2_TOOLCHAIN_SYSROOT
 	bool "Enable toolchain with --sysroot support"
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !!BR2_GCC_VERSION_4_1_2
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !BR2_GCC_VERSION_4_1_2
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-19 18:46 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-19 18:46 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-19 11:46:45 -0700 (Wed, 19 Sep 2007)
New Revision: 19897

Log:
- don't strip the host binaries for now


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-19 18:18:09 UTC (rev 19896)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-19 18:46:45 UTC (rev 19897)
@@ -54,7 +54,7 @@
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)
-GCC_STRIP_HOST_BINARIES:=true
+GCC_STRIP_HOST_BINARIES:=nope
 
 
 ifeq ($(findstring x3.,x$(GCC_VERSION)),x3.)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-19 17:32 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-19 17:32 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-19 10:32:21 -0700 (Wed, 19 Sep 2007)
New Revision: 19894

Log:
- exclude other old, deprecated and unsupported versions of gcc


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-09-19 14:15:46 UTC (rev 19893)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-09-19 17:32:21 UTC (rev 19894)
@@ -119,7 +119,7 @@
 
 config BR2_TOOLCHAIN_SYSROOT
 	bool "Enable toolchain with --sysroot support"
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_1_2
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 && !BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !!BR2_GCC_VERSION_4_1_2
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-15 12:12 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-15 12:12 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-15 05:12:56 -0700 (Sat, 15 Sep 2007)
New Revision: 19852

Log:
- fix copy'n paste error in ABI configuration


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-15 11:05:11 UTC (rev 19851)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-09-15 12:12:56 UTC (rev 19852)
@@ -64,7 +64,7 @@
 endif
 ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ABI))),)
 # ")))
-GCC_WITH_ABI:=--with-tune=$(BR2_GCC_TARGET_ABI)
+GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI)
 endif
 endif
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-04  7:35 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-04  7:35 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-04 00:35:19 -0700 (Tue, 04 Sep 2007)
New Revision: 19777

Log:
- correctly filter out the script


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 20:05:58 UTC (rev 19776)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-04 07:35:19 UTC (rev 19777)
@@ -282,7 +282,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 20:05:58 UTC (rev 19776)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-04 07:35:19 UTC (rev 19777)
@@ -290,7 +290,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out %-gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-03  6:26 ulf at uclibc.org
  2007-09-03 14:09 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-03  6:26 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-02 23:26:06 -0700 (Sun, 02 Sep 2007)
New Revision: 19770

Log:
Cleanup handling of gccbug script

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:26:06 UTC (rev 19770)
@@ -282,7 +282,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:26:06 UTC (rev 19770)
@@ -290,7 +290,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
+	strip --strip-all -R .note -R .comment $(filter-out gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-03  6:10 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-09-03  6:10 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-09-02 23:10:01 -0700 (Sun, 02 Sep 2007)
New Revision: 19769

Log:
Cleanup handling of gccbug script

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-02 22:12:07 UTC (rev 19768)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
@@ -282,7 +282,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
+	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-02 22:12:07 UTC (rev 19768)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-03 06:10:01 UTC (rev 19769)
@@ -288,13 +288,9 @@
 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/"; \
 		rmdir "$(STAGING_DIR)/lib64"; \
 	fi
-	# Move gcc bug reporting script out of path of real executables
-	mv -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gccbug \
-		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
 	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ]; then \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-01 17:11 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-01 17:11 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-01 10:11:24 -0700 (Sat, 01 Sep 2007)
New Revision: 19750

Log:
- don't try to strip the gccbug script


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-01 17:10:55 UTC (rev 19749)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-09-01 17:11:24 UTC (rev 19750)
@@ -291,7 +291,7 @@
 		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*
+	strip --strip-all -R .note -R .comment $(filter-out -gccbug,$(wildcard $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*))
 	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
 endif
 	# Make sure we have 'cc'.

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-09-01 17:09 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-09-01 17:09 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-09-01 10:09:08 -0700 (Sat, 01 Sep 2007)
New Revision: 19748

Log:
- GCC_CROSS_LANGUAGES for non-sysroot enabled gcc


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-01 17:06:53 UTC (rev 19747)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-09-01 17:09:08 UTC (rev 19748)
@@ -80,16 +80,26 @@
 #
 #############################################################
 
+
+GCC_CROSS_LANGUAGES:=c
+ifeq ($(BR2_GCC_CROSS_CXX),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),c++
+endif
+ifeq ($(BR2_GCC_CROSS_FORTRAN),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),fortran
+endif
+ifeq ($(BR2_GCC_CROSS_OBJC),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),objc
+endif
+
+
 GCC_TARGET_LANGUAGES:=c
-
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
 endif
-
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),java
 endif
-
 ifeq ($(BR2_INSTALL_OBJC),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),objc
 endif
@@ -237,7 +247,7 @@
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
-		--enable-languages=$(GCC_TARGET_LANGUAGES) \
+		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-26 21:00 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-26 21:00 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-26 14:00:56 -0700 (Sun, 26 Aug 2007)
New Revision: 19704

Log:
- make sure to honour user flags


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-26 20:55:02 UTC (rev 19703)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-26 21:00:56 UTC (rev 19704)
@@ -74,8 +74,16 @@
 	BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)"
 
 ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y)
-# pull in config opts from the user
-EXTRA_TARGET_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS)))
+EXTRA_TARGET_GCC_CONFIG_OPTIONS:=
+
+# AVR32 target GCC configuration
+ifeq ($(strip $(BR2_avr32)),y)
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
+
+# and finally pull in config opts from the user
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=$(strip $(subst ",, $(BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS)))
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
@@ -85,10 +93,5 @@
 endif
 endif # BR2_PREFER_IMA=y
 
-# AVR32 target GCC configuration
-ifeq ($(strip $(BR2_avr32)),y)
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
-endif
-
 TARGETS+=gcc_target
 endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-26 20:47 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-26 20:47 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-26 13:47:18 -0700 (Sun, 26 Aug 2007)
New Revision: 19702

Log:
- If we are to build some libs then require them to exist.
- Strip host files with host strip (untested, will likely need a HOSTSTRIP)


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-26 20:40:31 UTC (rev 19701)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-26 20:47:18 UTC (rev 19702)
@@ -316,20 +316,20 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
+	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+	-strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
+	cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
+	-strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
-	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/usr/lib/
 	mkdir -p $(TARGET_DIR)/usr/lib/security
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
 	touch $@
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-26 20:40:31 UTC (rev 19701)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-26 20:47:18 UTC (rev 19702)
@@ -340,18 +340,18 @@
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
+	cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
-	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/lib/
-	-cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-w3c-dom.so* $(TARGET_DIR)/lib/
+	cp -dpf $(STAGING_DIR)/lib/lib-org-xml-sax.so* $(TARGET_DIR)/lib/
 	mkdir -p $(TARGET_DIR)/usr/lib/security
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
-	-cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
+	cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
 	touch $@
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-21 10:32 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 10:32 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-21 03:32:55 -0700 (Tue, 21 Aug 2007)
New Revision: 19603

Log:
- 4.2.1 obsoletes 4.2.0


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-08-21 10:28:43 UTC (rev 19602)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-08-21 10:32:55 UTC (rev 19603)
@@ -69,7 +69,7 @@
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_0
-		depends !BR2_avr32 && !BR2_nios2
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.2.0"
 
 	config BR2_GCC_VERSION_4_2_1

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-21 10:28 aldot at uclibc.org
  2007-08-21 10:26 ` Cristian Ionescu-Idbohrn
  0 siblings, 1 reply; 170+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 10:28 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-21 03:28:43 -0700 (Tue, 21 Aug 2007)
New Revision: 19602

Log:
- put libstdc++.so into the correct place (usr/lib) and make sure that the dir exists


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-21 10:26:55 UTC (rev 19601)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-08-21 10:28:43 UTC (rev 19602)
@@ -309,6 +309,7 @@
 	#
 	# Ok... that's enough of that.
 	#
+	-mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
 $(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:26:55 UTC (rev 19601)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-21 10:28:43 UTC (rev 19602)
@@ -333,6 +333,7 @@
 	#
 	# Ok... that's enough of that.
 	#
+	-mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
 	touch $@
 
 $(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed
@@ -342,7 +343,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-19 21:15 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-08-19 21:15 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-19 14:15:02 -0700 (Sun, 19 Aug 2007)
New Revision: 19570

Log:
gcc-4 cleanup

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-19 21:13:08 UTC (rev 19569)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-08-19 21:15:02 UTC (rev 19570)
@@ -309,7 +309,7 @@
 		cd usr/bin; \
 		for app in $(REAL_GNU_TARGET_NAME)-* ; do \
 			ln -snf $${app} \
-		   	$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
+			$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
 		done; \
 	);
 	#
@@ -342,7 +342,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/usr/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-01 19:15 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-08-01 19:15 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-01 12:15:14 -0700 (Wed, 01 Aug 2007)
New Revision: 19393

Log:
F77 is not supported on AVR32

Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 19:13:18 UTC (rev 19392)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 19:15:14 UTC (rev 19393)
@@ -155,6 +155,7 @@
 config BR2_GCC_CROSS_FORTRAN
 	bool "Fortran cross-compiler support"
 	default n
+	depends on !BR2_avr32
 	help
 	  Build a Fortran cross-compiler
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-08-01  8:58 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-08-01  8:58 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-08-01 01:58:14 -0700 (Wed, 01 Aug 2007)
New Revision: 19383

Log:
Simplify AVR32 gcc build (libmudflap, doesn't work, so applied even though objections)

Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/Config.in.2
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 08:54:56 UTC (rev 19382)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-08-01 08:58:14 UTC (rev 19383)
@@ -140,16 +140,6 @@
 	  proper stack unwinding during exception handling.  Most people
 	  can leave this set to n.
 
-config BR2_GCC_AVR32_CONFIGURATION
-	bool "Enable default AVR32 GCC configuration"
-	default y
-	depends BR2_avr32
-	help
-	  For the AVR32 platform there is some configuration which are not
-	  supported.
-
-	  Currently this will add "--disable-libmudflap" to configure.
-
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	string "Additional gcc options"
 	default ""

Modified: trunk/buildroot/toolchain/gcc/Config.in.2
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in.2	2007-08-01 08:54:56 UTC (rev 19382)
+++ trunk/buildroot/toolchain/gcc/Config.in.2	2007-08-01 08:58:14 UTC (rev 19383)
@@ -2,19 +2,9 @@
 	bool "native toolchain in the target filesystem"
 	default n
 	help
-	  If you want the target system to be able to run 
+	  If you want the target system to be able to run
 	  binutils/gcc and compile native code, say Y here.
 
-config BR2_GCC_TARGET_AVR32_CONFIGURATION
-	bool "Enable default AVR32 GCC configuration"
-	default y
-	depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
-	help
-	  For the AVR32 platform there is some configuration which are not
-	  supported.
-
-	  Currently this will add "--disable-libmudflap" to configure.
-
 config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	string "Additional target gcc options"
 	default ""

Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-01 08:54:56 UTC (rev 19382)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-08-01 08:58:14 UTC (rev 19383)
@@ -12,7 +12,7 @@
 #"))
 
 # AVR32 GCC configuration
-ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
+ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
 endif
 
@@ -86,7 +86,7 @@
 endif # BR2_PREFER_IMA=y
 
 # AVR32 target GCC configuration
-ifeq ($(strip $(BR2_GCC_TARGET_AVR32_CONFIGURATION)),y)
+ifeq ($(strip $(BR2_avr32)),y)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
 endif
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-31 15:07 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-31 15:07 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-31 08:07:06 -0700 (Tue, 31 Jul 2007)
New Revision: 19353

Log:
- add possibility to select which cross-compilers to build
- add prerequisites from the config


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-31 15:02:06 UTC (rev 19352)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-31 15:07:06 UTC (rev 19353)
@@ -156,6 +156,18 @@
 	help
 	  Any additional gcc configure options you may want to include....
 
+config BR2_GCC_CROSS_CXX
+	bool "C++ cross-compiler support"
+	default n
+	help
+	  Build a C++ cross-compiler
+
+config BR2_GCC_CROSS_FORTRAN
+	bool "Fortran cross-compiler support"
+	default n
+	help
+	  Build a Fortran cross-compiler
+
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-31 15:02:06 UTC (rev 19352)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-31 15:07:06 UTC (rev 19353)
@@ -75,10 +75,31 @@
 
 GCC_TARGET_LANGUAGES:=c
 
-GCC_COMMON_PREREQ= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran* $(BASE_DIR)/include/config/br2/prefer/ima* $(BASE_DIR)/include/config/br2/toolchain/sysroot* $(BASE_DIR)/include/config/br2/use/sjlj/exceptions* $(BASE_DIR)/include/config/br2/gcc/shared/libgcc*)
-GCC_TARGET_PREREQ += $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/target/gcc/config/options*)
-GCC_STAGING_PREREQ+= $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/gcc/config/options*)
+GCC_CROSS_LANGUAGES:=c
+ifeq ($(BR2_GCC_CROSS_CXX),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),c++
+endif
+ifeq ($(BR2_GCC_CROSS_FORTRAN),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),fortran
+endif
+ifeq ($(BR2_GCC_CROSS_OBJC),y)
+GCC_CROSS_LANGUAGES:=$(GCC_CROSS_LANGUAGES),objc
+endif
 
+GCC_COMMON_PREREQ= $(wildcard $(BR2_DEPENDS_DIR)/br2/install/libstdcpp*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/libgcj*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/objc*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/install/fortran*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/prefer/ima*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/toolchain/sysroot*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/use/sjlj/exceptions*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/gcc/shared/libgcc*)
+GCC_TARGET_PREREQ += $(GCC_COMMON_PREREQ) \
+$(wildcard $(BR2_DEPENDS_DIR)/br2/extra/target/gcc/config/options*)
+GCC_STAGING_PREREQ+= $(GCC_COMMON_PREREQ) \
+$(wildcard $(BR2_DEPENDS_DIR)/br2/extra/gcc/config/options*)\
+$(wildcard $(BR2_DEPENDS_DIR)/br2/gcc/cross/*)
+
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
 endif
@@ -232,7 +253,7 @@
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
-		--enable-languages=$(GCC_TARGET_LANGUAGES) \
+		--enable-languages=$(GCC_CROSS_LANGUAGES) \
 		$(BR2_CONFIGURE_STAGING_SYSROOT) \
 		$(BR2_CONFIGURE_BUILD_TOOLS) \
 		--disable-__cxa_atexit \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-30 18:24 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-30 18:24 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-30 11:24:53 -0700 (Mon, 30 Jul 2007)
New Revision: 19350

Log:
Revert bad patch

Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-30 18:23:47 UTC (rev 19349)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-30 18:24:53 UTC (rev 19350)
@@ -159,8 +159,9 @@
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
+	# >= 4.2.0 work fine without LARGEFILE
 	# huh? why so? select BR2_LARGEFILE
-	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_3
+	select BR2_LARGEFILE if BR2_GCC_VERSION_3_3_5 || BR2_GCC_VERSION_3_3_6 || BR2_GCC_VERSION_3_4_2 || BR2_GCC_VERSION_3_4_3 || BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_0 || BR2_GCC_VERSION_4_0_1 || BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_0_3 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_0 || BR2_GCC_VERSION_4_1_1 || BR2_GCC_VERSION_4_1_2
 	help
 	  Build/install c++ compiler and libstdc++?
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-29 17:51 ulf at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:51 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-29 10:51:32 -0700 (Sun, 29 Jul 2007)
New Revision: 19334

Log:
Add AVR32 options to gcc

Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-29 17:47:27 UTC (rev 19333)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-07-29 17:51:32 UTC (rev 19334)
@@ -10,6 +10,12 @@
 #"))
 EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
 #"))
+
+# AVR32 GCC configuration
+ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
+EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
 #"))
 GCC_SNAP_DATE:=$(strip $(subst ",, $(BR2_GCC_SNAP_DATE)))
@@ -79,5 +85,10 @@
 endif
 endif # BR2_PREFER_IMA=y
 
+# AVR32 target GCC configuration
+ifeq ($(strip $(BR2_GCC_TARGET_AVR32_CONFIGURATION)),y)
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
 TARGETS+=gcc_target
 endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-29 17:43 ulf at uclibc.org
  2007-07-30  7:21 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:43 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-29 10:43:50 -0700 (Sun, 29 Jul 2007)
New Revision: 19332

Log:
gcc target config for AVR32

Modified:
   trunk/buildroot/toolchain/gcc/Config.in.2


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in.2
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in.2	2007-07-29 17:40:42 UTC (rev 19331)
+++ trunk/buildroot/toolchain/gcc/Config.in.2	2007-07-29 17:43:50 UTC (rev 19332)
@@ -5,9 +5,20 @@
 	  If you want the target system to be able to run 
 	  binutils/gcc and compile native code, say Y here.
 
+config BR2_GCC_TARGET_AVR32_CONFIGURATION
+	bool "Enable default AVR32 GCC configuration"
+	default y
+	depends BR2_avr32 && BR2_PACKAGE_GCC_TARGET
+	help
+	  For the AVR32 platform there is some configuration which are not
+	  supported.
+
+	  Currently this will add "--disable-libmudflap" to configure.
+
 config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	string "Additional target gcc options"
 	default ""
+	depends BR2_PACKAGE_GCC_TARGET
 	help
 	  Any additional target gcc options you may want to include....
 	  Including, but not limited to --disable-checking etc.

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-29 17:36 ulf at uclibc.org
  2007-07-30  7:19 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-29 17:36 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-29 10:36:45 -0700 (Sun, 29 Jul 2007)
New Revision: 19330

Log:
gcc config for AVR32

Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-29 17:34:20 UTC (rev 19329)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-29 17:36:45 UTC (rev 19330)
@@ -9,58 +9,59 @@
 	  Select the version of gcc you wish to use.
 
 	config BR2_GCC_VERSION_3_3_5
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 3.3.5"
 
 	config BR2_GCC_VERSION_3_3_6
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 3.3.6"
 
 	config BR2_GCC_VERSION_3_4_2
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.2"
 
 	config BR2_GCC_VERSION_3_4_3
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.3"
 
 	config BR2_GCC_VERSION_3_4_4
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.4"
 
 	config BR2_GCC_VERSION_3_4_5
-		depends BR2_DEPRECATED
+		depends !BR2_avr32 && BR2_DEPRECATED
 		bool "gcc 3.4.5"
 
 	config BR2_GCC_VERSION_3_4_6
+		depends on !BR2_avr32
 		bool "gcc 3.4.6"
 
 	config BR2_GCC_VERSION_4_0_0
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.0"
 
 	config BR2_GCC_VERSION_4_0_1
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.1"
 
 	config BR2_GCC_VERSION_4_0_2
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.2"
 
 	config BR2_GCC_VERSION_4_0_3
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.3"
 
 	config BR2_GCC_VERSION_4_0_4
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.4"
 
 	config BR2_GCC_VERSION_4_1_0
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.1.0"
 
 	config BR2_GCC_VERSION_4_1_1
-		depends !BR2_nios2 && BR2_DEPRECATED
+		depends !BR2_avr32 && !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.1.1"
 
 	config BR2_GCC_VERSION_4_1_2
@@ -68,21 +69,22 @@
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_0
-		depends !BR2_nios2
+		depends !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.0"
 
 	config BR2_GCC_VERSION_4_2_1
-		depends !BR2_nios2
+		depends !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.1"
 
 #	config BR2_GCC_VERSION_4_3
-#		depends !BR2_nios2
+#		depends !BR2_avr32 && !BR2_nios2
 #		select BR2_GCC_IS_SNAP
 #		bool "gcc 4.3"
 
 endchoice
 
 config BR2_GCC_IS_SNAP
+	depends !BR2_avr32
 	bool
 	default n
 
@@ -138,6 +140,16 @@
 	  proper stack unwinding during exception handling.  Most people
 	  can leave this set to n.
 
+config BR2_GCC_AVR32_CONFIGURATION
+	bool "Enable default AVR32 GCC configuration"
+	default y
+	depends BR2_avr32
+	help
+	  For the AVR32 platform there is some configuration which are not
+	  supported.
+
+	  Currently this will add "--disable-libmudflap" to configure.
+
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	string "Additional gcc options"
 	default ""
@@ -147,27 +159,29 @@
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
-	# >= 4.2.0 work fine without LARGEFILE
-	select BR2_LARGEFILE if BR2_GCC_VERSION_3_3_5 || BR2_GCC_VERSION_3_3_6 || BR2_GCC_VERSION_3_4_2 || BR2_GCC_VERSION_3_4_3 || BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_0 || BR2_GCC_VERSION_4_0_1 || BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_0_3 || BR2_GCC_VERSION_4_0_4 || BR2_GCC_VERSION_4_1_0 || BR2_GCC_VERSION_4_1_1 || BR2_GCC_VERSION_4_1_2
+	# huh? why so? select BR2_LARGEFILE
+	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_3
 	help
 	  Build/install c++ compiler and libstdc++?
 
 config BR2_INSTALL_LIBGCJ
 	bool "Build/install java compiler and libgcj?"
 	default n
-	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
 	help
 	  Build/install java compiler and libgcj?
 
 config BR2_INSTALL_OBJC
 	bool "Build/install Objective-C compiler and runtime?"
 	default n
+	depends on !BR2_avr32
 	help
 	  Build/install Objective-C compiler and runtime?
 
 config BR2_INSTALL_FORTRAN
 	bool "Build/install Fortran compiler and runtime?"
 	default n
+	depends on !BR2_avr32
 	select BR2_PACKAGE_LIBMPFR
 	help
 	  Build/install Fortran compiler and runtime?

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-08 13:13 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 13:13 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-08 06:13:29 -0700 (Sun, 08 Jul 2007)
New Revision: 19035

Log:
- factor-out common config options for staging and target compiler
- take extra options for the respective compilers into account


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 12:50:06 UTC (rev 19034)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 13:13:29 UTC (rev 19035)
@@ -53,8 +53,9 @@
 
 GCC_TARGET_LANGUAGES:=c
 
-GCC_TARGET_PREREQ += $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
-GCC_STAGING_PREREQ+= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
+GCC_COMMON_PREREQ= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran* $(BASE_DIR)/include/config/br2/prefer/ima* $(BASE_DIR)/include/config/br2/toolchain/sysroot* $(BASE_DIR)/include/config/br2/use/sjlj/exceptions* $(BASE_DIR)/include/config/br2/gcc/shared/libgcc*)
+GCC_TARGET_PREREQ += $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/target/gcc/config/options*)
+GCC_STAGING_PREREQ+= $(GCC_COMMON_PREREQ) $(wildcard $(BASE_DIR)/include/config/br2/extra/gcc/config/options*)
 
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-08 12:50 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 12:50 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-08 05:50:06 -0700 (Sun, 08 Jul 2007)
New Revision: 19034

Log:
- we have to reconfigure iff some compiler-config was changed.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 12:20:58 UTC (rev 19033)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-08 12:50:06 UTC (rev 19034)
@@ -48,8 +48,14 @@
 #
 #############################################################
 
+GCC_TARGET_PREREQ =
+GCC_STAGING_PREREQ= $(STAGING_DIR)/usr/lib/libc.a
+
 GCC_TARGET_LANGUAGES:=c
 
+GCC_TARGET_PREREQ += $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
+GCC_STAGING_PREREQ+= $(wildcard $(BASE_DIR)/include/config/br2/install/libstdcpp* $(BASE_DIR)/include/config/br2/install/libgcj* $(BASE_DIR)/include/config/br2/install/objc* $(BASE_DIR)/include/config/br2/install/fortran*)
+
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
 endif
@@ -62,9 +68,6 @@
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),objc
 endif
 
-GCC_TARGET_PREREQ =
-GCC_STAGING_PREREQ= $(STAGING_DIR)/usr/lib/libc.a
-
 ifndef GCC_NO_MPFR
 GCC_WITH_HOST_GMP=--with-gmp=$(GMP_HOST_DIR)
 GCC_WITH_HOST_MPFR=--with-mpfr=$(MPFR_HOST_DIR)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07 23:55 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-07 23:55 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-07 16:55:19 -0700 (Sat, 07 Jul 2007)
New Revision: 19024

Log:
- adjust for the released 4.2.0 version


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-07 23:54:33 UTC (rev 19023)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-07 23:55:19 UTC (rev 19024)
@@ -143,7 +143,7 @@
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
 	# huh? why so? select BR2_LARGEFILE
-	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2
+	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2_0 && !BR2_GCC_VERSION_4_3
 	help
 	  Build/install c++ compiler and libstdc++?
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07 12:58 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-07-07 12:58 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-07 05:58:15 -0700 (Sat, 07 Jul 2007)
New Revision: 19021

Log:
- use correct path to libstdc++


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:28:25 UTC (rev 19020)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:58:15 UTC (rev 19021)
@@ -303,7 +303,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	-cp -dpf $(STAGING_DIR)/usr/lib/libstdc++.so* $(TARGET_DIR)/lib/
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07 12:28 ulf at uclibc.org
  2007-09-01 18:43 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-07 12:28 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-07 05:28:25 -0700 (Sat, 07 Jul 2007)
New Revision: 19020

Log:
Avoid stripping scripts

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 11:06:08 UTC (rev 19019)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 12:28:25 UTC (rev 19020)
@@ -247,17 +247,13 @@
 		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/" ; \
 		rmdir "$(STAGING_DIR)/lib64" ; \
 	fi
+	# Move gcc bug reporting script out of path of real executables
+	mv -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gccbug \
+		$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gccbug
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
-		mkdir -p "$(STAGING_DIR)/tmp" ; \
-		mv $(STAGING_DIR)/usr/bin/*-gccbug  $(STAGING_DIR)/tmp ; \
-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
-		mv $(STAGING_DIR)/tmp/*-gccbug $(STAGING_DIR)/usr/bin ; \
-		rmdir "$(STAGING_DIR)/tmp" ; \
-	else \
-		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
-	fi
+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-*
+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/faked
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ] ; then \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-07  7:34 ulf at uclibc.org
  2007-07-07  9:33 ` Bernhard Fischer
  0 siblings, 1 reply; 170+ messages in thread
From: ulf at uclibc.org @ 2007-07-07  7:34 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-07 00:34:37 -0700 (Sat, 07 Jul 2007)
New Revision: 19014

Log:
Avoid stripping a script file

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-06 16:57:06 UTC (rev 19013)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-07-07 07:34:37 UTC (rev 19014)
@@ -249,7 +249,15 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
+	if [ -e $(STAGING_DIR)/usr/bin/*-gccbug ] ; then \
+		mkdir -p "$(STAGING_DIR)/tmp" ; \
+		mv $(STAGING_DIR)/usr/bin/*-gccbug  $(STAGING_DIR)/tmp ; \
+		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
+		mv $(STAGING_DIR)/tmp/*-gccbug $(STAGING_DIR)/usr/bin ; \
+		rmdir "$(STAGING_DIR)/tmp" ; \
+	else \
+		-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/* ; \
+	fi
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ] ; then \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-05  5:15 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2007-07-05  5:15 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-07-04 22:15:47 -0700 (Wed, 04 Jul 2007)
New Revision: 19002

Log:
This was for when I was building a toolchain without BR2_TOOLCHAIN_SYSROOT set. Maybe when it is set the C++ libraries get put into $(TARGET_DIR)/lib. If that is the case, then an 'if-else' block will need to be placed to strip the right location.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-05 05:13:46 UTC (rev 19001)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-07-05 05:15:47 UTC (rev 19002)
@@ -306,7 +306,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstdc++.so*
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/usr/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-07-05  5:13 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2007-07-05  5:13 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-07-04 22:13:46 -0700 (Wed, 04 Jul 2007)
New Revision: 19001

Log:
Enable the option.


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-07-05 05:13:20 UTC (rev 19000)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-07-05 05:13:46 UTC (rev 19001)
@@ -111,9 +111,8 @@
 	default "4.3"       if BR2_GCC_VERSION_4_3
 
 config BR2_TOOLCHAIN_SYSROOT
-#	bool "Enable toolchain with --sysroot support"
-	bool
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 &&!BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !BR2_GCC_VERSION_4_1_2
+	bool "Enable toolchain with --sysroot support"
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-06-28 14:05 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-06-28 14:05 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-28 07:05:29 -0700 (Thu, 28 Jun 2007)
New Revision: 18964

Log:
- work around bug in gcc (or rather libiberty) for parallel install


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-28 14:03:04 UTC (rev 18963)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-28 14:05:29 UTC (rev 18964)
@@ -400,7 +400,7 @@
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) \
-		$(MAKE) -C $(GCC_BUILD_DIR3) install
+		$(MAKE1) -C $(GCC_BUILD_DIR3) install
 	# Remove broken specs file (cross compile flag is set).
 	rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
 	#

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-06-25  7:52 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-06-25  7:52 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-25 00:52:41 -0700 (Mon, 25 Jun 2007)
New Revision: 18908

Log:
- adjust patches of the gcc-clean target


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-24 17:23:54 UTC (rev 18907)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-25 07:52:41 UTC (rev 18908)
@@ -249,7 +249,7 @@
 	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
-	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
+	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/usr/bin/*
 endif
 	# Make sure we have 'cc'.
 	if [ ! -e $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc ] ; then \
@@ -320,8 +320,8 @@
 gcc-clean:
 	rm -rf $(GCC_BUILD_DIR2)
 	for prog in cpp gcc gcc-[0-9]* protoize unprotoize gcov gccbug cc; do \
-	    rm -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-$$prog \
-	    rm -f $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-$$prog; \
+	    rm -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-$$prog \
+	    rm -f $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-$$prog; \
 	done
 
 gcc-dirclean: gcc_initial-dirclean

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-06-24 11:30 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-06-24 11:30 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-06-24 04:30:05 -0700 (Sun, 24 Jun 2007)
New Revision: 18904

Log:
- disable sysroot support for anything but the current, stable release series


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
   trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-06-23 23:14:02 UTC (rev 18903)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-06-24 11:30:05 UTC (rev 18904)
@@ -52,7 +52,7 @@
 		bool "gcc 4.0.3"
 
 	config BR2_GCC_VERSION_4_0_4
-		depends !BR2_nios2
+		depends !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.0.4"
 
 	config BR2_GCC_VERSION_4_1_0
@@ -84,7 +84,7 @@
 
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
-	default "20070601"
+	default "20070622"
 	depends BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:
@@ -113,7 +113,7 @@
 config BR2_TOOLCHAIN_SYSROOT
 #	bool "Enable toolchain with --sysroot support"
 	bool
-	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6
+	depends on !BR2_GCC_VERSION_3_3_5 && !BR2_GCC_VERSION_3_3_6 && !BR2_GCC_VERSION_3_4_2 && !BR2_GCC_VERSION_3_4_3 && !BR2_GCC_VERSION_3_4_4 && !BR2_GCC_VERSION_3_4_5 && !BR2_GCC_VERSION_3_4_6 &&!BR2_GCC_VERSION_4_0_0 && !BR2_GCC_VERSION_4_0_1 && !BR2_GCC_VERSION_4_0_2 && !BR2_GCC_VERSION_4_0_3 && !BR2_GCC_VERSION_4_0_4 && !BR2_GCC_VERSION_4_1_0 && !BR2_GCC_VERSION_4_1_1 && !BR2_GCC_VERSION_4_1_2
 	default y
 	help
 	  Enables --sysroot=dir for binutils and gcc.
@@ -122,6 +122,9 @@
 	  /usr/include and libraries in /usr/lib, it will instead search
 	  dir/usr/include and dir/usr/lib.
 
+	  This does not work with gcc < 4.2.0 (4.1.2 gets
+	  ORIGINAL_AS_FOR_TARGET wrong)
+
 config BR2_GCC_USE_SJLJ_EXCEPTIONS
 	bool "Enable setjmp/longjmp exceptions?"
 	default n

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-06-23 23:14:02 UTC (rev 18903)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-06-24 11:30:05 UTC (rev 18904)
@@ -19,8 +19,8 @@
 
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 
-# only for gcc-3.x
-ifeq ($(findstring y,$(BR2_GCC_VERSION_3_3_5)$(BR2_GCC_VERSION_3_3_6)$(BR2_GCC_VERSION_3_4_2)$(BR2_GCC_VERSION_3_4_3)$(BR2_GCC_VERSION_3_4_4)$(BR2_GCC_VERSION_3_4_5)$(BR2_GCC_VERSION_3_4_6)),y)
+# without sysroot support. Sysroot toolchain is gcc-uclibc-4.x.mk
+ifneq ($(BR2_TOOLCHAIN_SYSROOT),y)
 
 ifeq ($(GCC_SNAP_DATE),)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-23 23:14:02 UTC (rev 18903)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk	2007-06-24 11:30:05 UTC (rev 18904)
@@ -17,8 +17,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
-# gcc-4.x only
-ifeq ($(findstring y,$(BR2_GCC_VERSION_3_3_5)$(BR2_GCC_VERSION_3_3_6)$(BR2_GCC_VERSION_3_4_2)$(BR2_GCC_VERSION_3_4_3)$(BR2_GCC_VERSION_3_4_4)$(BR2_GCC_VERSION_3_4_5)$(BR2_GCC_VERSION_3_4_6)),)
+# sysroot support works with gcc >= 4.2.0 only
+ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
+
 ifeq ($(GCC_SNAP_DATE),)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)
 GCC_SITE:=http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-05-24 21:23 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2007-05-24 21:23 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-05-24 14:23:19 -0700 (Thu, 24 May 2007)
New Revision: 18686

Log:
Fixed silly typo. Thanks to Petur Thors for reporting

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-24 13:52:46 UTC (rev 18685)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-24 21:23:19 UTC (rev 18686)
@@ -296,7 +296,7 @@
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
-	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstc++.so*
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstdc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-05-15 13:58 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2007-05-15 13:58 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-05-15 06:58:35 -0700 (Tue, 15 May 2007)
New Revision: 18630

Log:
Strip libraries

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-15 12:50:04 UTC (rev 18629)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-05-15 13:58:35 UTC (rev 18630)
@@ -292,9 +292,11 @@
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -dpf $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgcc_s*
 endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
+	$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libstc++.so*
 endif
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
 	-cp -dpf $(STAGING_DIR)/lib/libgcj.so* $(TARGET_DIR)/lib/

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-04-13  2:04 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2007-04-13  2:04 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-04-12 19:04:32 -0700 (Thu, 12 Apr 2007)
New Revision: 18422

Log:
If using an external toolchain, don't include any of this stuff.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-04-12 21:20:25 UTC (rev 18421)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-04-13 02:04:32 UTC (rev 18422)
@@ -17,6 +17,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
+
 ifeq ($(GCC_SNAP_DATE),)
 GCC_OFFICIAL_VER:=$(GCC_VERSION)
 GCC_SITE:=http://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VERSION)
@@ -443,3 +445,5 @@
 
 gcc_target-dirclean:
 	rm -rf $(GCC_BUILD_DIR3)
+
+endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-04-02 16:18 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-04-02 16:18 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-04-02 09:18:48 -0700 (Mon, 02 Apr 2007)
New Revision: 18303

Log:
- make sure that we do not confuse versions (due to how findstring works)


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-04-02 12:37:28 UTC (rev 18302)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-04-02 16:18:48 UTC (rev 18303)
@@ -25,14 +25,14 @@
 
 ifeq ($(BR2_SOFT_FLOAT),y)
 # gcc 3.4.x soft float configuration is different than previous versions.
-ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
+ifeq ($(findstring x3.4.,x$(GCC_VERSION)),x3.4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 else
 SOFT_FLOAT_CONFIG_OPTION:=--without-float
 endif
 
 # again... there must be a better way
-ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
+ifeq ($(findstring x4.,x$(GCC_VERSION)),x4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 ifeq ($(BR2_SOFT_FLOAT_FP),y)
 TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
@@ -61,7 +61,7 @@
 
 ifeq ($(BR2_PREFER_IMA),y)
 # >= 4.x
-ifneq ($(findstring 3.,$(GCC_VERSION)),3.)
+ifneq ($(findstring x3.,x$(GCC_VERSION)),x3.)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
 endif # BR2_PREFER_IMA=y

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-03-22 17:21 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-03-22 17:21 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-03-22 10:21:18 -0700 (Thu, 22 Mar 2007)
New Revision: 18204

Log:
- see if the dir exists before trying to strip an empty list of files..


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-03-22 16:23:43 UTC (rev 18203)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-03-22 17:21:18 UTC (rev 18204)
@@ -412,11 +412,11 @@
 	#
 	# Ok... that's enough of that.
 	#
-	-(cd $(TARGET_DIR)/bin; find -type f | xargs $(STRIP) > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/usr/bin; find -type f | xargs $(STRIP) > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR); $(STRIP) cc1 cc1plus collect2 > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/usr/lib; $(STRIP) libstdc++.so.*.*.* > /dev/null 2>&1)
-	-(cd $(TARGET_DIR)/lib; $(STRIP) libgcc_s*.so.*.*.* > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/bin && find -type f | xargs $(STRIP) > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/usr/bin && find -type f | xargs $(STRIP) > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR) && $(STRIP) cc1 cc1plus collect2 > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/usr/lib && $(STRIP) libstdc++.so.*.*.* > /dev/null 2>&1)
+	-(cd $(TARGET_DIR)/lib && $(STRIP) libgcc_s*.so.*.*.* > /dev/null 2>&1)
 	#
 	rm -f $(TARGET_DIR)/usr/lib/*.la*
 	#rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-14  8:49 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-14  8:49 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-14 00:49:00 -0800 (Wed, 14 Feb 2007)
New Revision: 17884

Log:
- gcc-4.1.2 released


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-02-14 08:36:13 UTC (rev 17883)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-02-14 08:49:00 UTC (rev 17884)
@@ -60,7 +60,7 @@
 		bool "gcc 4.1.0"
 
 	config BR2_GCC_VERSION_4_1_1
-		depends !BR2_nios2
+		depends !BR2_nios2 && BR2_DEPRECATED
 		bool "gcc 4.1.1"
 
 	config BR2_GCC_VERSION_4_1_2

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-14 08:36:13 UTC (rev 17883)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-14 08:49:00 UTC (rev 17884)
@@ -26,13 +26,6 @@
 GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_OFFICIAL_VER)
 endif
 
-# Temporary for 4.1.2-RC1
-ifeq ($(BR2_GCC_VERSION_4_1_2),y)
-GCC_SNAP_DATE:=20070208
-GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
-GCC_SITE:=ftp://gcc.gnu.org/pub/gcc/prerelease-$(GCC_OFFICIAL_VER)/
-endif
-
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-09 14:05 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 14:05 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-09 06:05:51 -0800 (Fri, 09 Feb 2007)
New Revision: 17838

Log:
- new prerelease


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-09 13:56:01 UTC (rev 17837)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-09 14:05:51 UTC (rev 17838)
@@ -28,7 +28,7 @@
 
 # Temporary for 4.1.2-RC1
 ifeq ($(BR2_GCC_VERSION_4_1_2),y)
-GCC_SNAP_DATE:=20070128
+GCC_SNAP_DATE:=20070208
 GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
 GCC_SITE:=ftp://gcc.gnu.org/pub/gcc/prerelease-$(GCC_OFFICIAL_VER)/
 endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-09 13:43 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-09 13:43 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-09 05:43:36 -0800 (Fri, 09 Feb 2007)
New Revision: 17836

Log:
- 4.0.4 *seems* to support this too, so just exclude anything that is even older than that one.


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-09 13:35:41 UTC (rev 17835)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-09 13:43:36 UTC (rev 17836)
@@ -60,12 +60,10 @@
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
-# >= 4.1
-ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
-ifneq ($(findstring 4.0,$(GCC_VERSION)),4.0)
+# >= 4.x
+ifneq ($(findstring 3.,$(GCC_VERSION)),3.)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
-endif
 endif # BR2_PREFER_IMA=y
 
 TARGETS+=gcc_target

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-04 21:59 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-04 21:59 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-04 13:59:39 -0800 (Sun, 04 Feb 2007)
New Revision: 17773

Log:
- add missing hunk from fix for #1191


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-04 21:30:35 UTC (rev 17772)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-02-04 21:59:39 UTC (rev 17773)
@@ -309,6 +309,7 @@
 	-cp -dpf $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
 	-cp -dpf $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
+	touch $@
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
 	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
@@ -333,7 +334,7 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.installed $(GCC_TARGET_PREREQ)
+$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.libs_installed $(GCC_TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
 	touch $@
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-02-04 15:23 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-02-04 15:23 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-02-04 07:23:26 -0800 (Sun, 04 Feb 2007)
New Revision: 17759

Log:
- allow intermodule also for 4.1


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-04 11:16:21 UTC (rev 17758)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-02-04 15:23:26 UTC (rev 17759)
@@ -60,12 +60,11 @@
 #"))
 
 ifeq ($(BR2_PREFER_IMA),y)
-# >= 4.2
-ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
+# >= 4.1
+ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
+ifneq ($(findstring 4.0,$(GCC_VERSION)),4.0)
 EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
-ifeq ($(findstring 4.3,$(GCC_VERSION)),4.3)
-EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
 endif
 endif # BR2_PREFER_IMA=y
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-31 15:09 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-31 15:09 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-31 07:09:26 -0800 (Wed, 31 Jan 2007)
New Revision: 17686

Log:
- add gcc-4.1.2 (release candidate1). Send bugs etc to MarkM, if you feel like


Added:
   trunk/buildroot/toolchain/gcc/4.1.2/

Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Copied: trunk/buildroot/toolchain/gcc/4.1.2 (from rev 17683, trunk/buildroot/toolchain/gcc/4.1.1)

Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-01-31 14:21:08 UTC (rev 17685)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-01-31 15:09:26 UTC (rev 17686)
@@ -55,6 +55,10 @@
 		depends !BR2_nios2
 		bool "gcc 4.1.1"
 
+	config BR2_GCC_VERSION_4_1_2
+		depends !BR2_nios2
+		bool "gcc 4.1.2"
+
 	config BR2_GCC_VERSION_4_2
 		depends !BR2_nios2
 		select BR2_GCC_IS_SNAP
@@ -89,6 +93,7 @@
 	default "4.0.3"     if BR2_GCC_VERSION_4_0_3
 	default "4.1.0"     if BR2_GCC_VERSION_4_1_0
 	default "4.1.1"     if BR2_GCC_VERSION_4_1_1
+	default "4.1.2"     if BR2_GCC_VERSION_4_1_2
 	default "4.2"       if BR2_GCC_VERSION_4_2
 
 

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-31 14:21:08 UTC (rev 17685)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-31 15:09:26 UTC (rev 17686)
@@ -26,6 +26,13 @@
 GCC_SITE:=ftp://sources.redhat.com/pub/gcc/snapshots/$(GCC_OFFICIAL_VER)
 endif
 
+# Temporary for 4.1.2-RC1
+ifeq ($(BR2_GCC_VERSION_4_1_2),y)
+GCC_SNAP_DATE:=20070128
+GCC_OFFICIAL_VER:=$(GCC_VERSION)-$(GCC_SNAP_DATE)
+GCC_SITE:=ftp://gcc.gnu.org/pub/gcc/prerelease-$(GCC_OFFICIAL_VER)/
+endif
+
 GCC_SOURCE:=gcc-$(GCC_OFFICIAL_VER).tar.bz2
 GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_OFFICIAL_VER)
 GCC_CAT:=$(BZCAT)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-28 11:57 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-28 11:57 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-28 03:57:00 -0800 (Sun, 28 Jan 2007)
New Revision: 17592

Log:
- fix indentation of help texts


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2007-01-28 11:14:26 UTC (rev 17591)
+++ trunk/buildroot/toolchain/gcc/Config.in	2007-01-28 11:57:00 UTC (rev 17592)
@@ -96,16 +96,16 @@
 	bool "Enable setjmp/longjmp exceptions?"
 	default n
 	help
-	    For some platforms, proper stack unwinding works perfectly,
-	    while other platforms must use setjmp/longjmp exceptions for
-	    proper stack unwinding during exception handling.  Most people
-	    can leave this set to n.
+	  For some platforms, proper stack unwinding works perfectly,
+	  while other platforms must use setjmp/longjmp exceptions for
+	  proper stack unwinding during exception handling.  Most people
+	  can leave this set to n.
 
 config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	string "Additional gcc options"
 	default ""
 	help
-	    Any additional gcc options you may want to include....
+	  Any additional gcc configure options you may want to include....
 
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
@@ -113,35 +113,33 @@
 	# huh? why so? select BR2_LARGEFILE
 	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2
 	help
-	    Build/install c++ compiler and libstdc++?
+	  Build/install c++ compiler and libstdc++?
 
 config BR2_INSTALL_LIBGCJ
 	bool "Build/install java compiler and libgcj?"
 	default n
 	depends on BR2_INSTALL_LIBSTDCPP
 	help
-	    Build/install java compiler and libgcj?
+	  Build/install java compiler and libgcj?
 
 config BR2_INSTALL_OBJC
 	bool "Build/install Objective-C compiler and runtime?"
 	default n
 	help
-	    Build/install Objective-C compiler and runtime?
+	  Build/install Objective-C compiler and runtime?
 
 config BR2_INSTALL_FORTRAN
 	bool "Build/install Fortran compiler and runtime?"
 	default n
 	select BR2_PACKAGE_LIBMPFR
 	help
-	    Build/install Fortran compiler and runtime?
-	    Note that it is highly recommended NOT to use gfortran
-	    from gcc older than 4.2.0
+	  Build/install Fortran compiler and runtime?
+	  Note that it is highly recommended NOT to use gfortran
+	  from gcc older than 4.2.0
 
-	    You have been warned..
-
 config BR2_GCC_SHARED_LIBGCC
 	bool "Build/install a shared libgcc?"
 	default y
 	help
-	    Build/install a shared libgcc library
+	  Build/install a shared libgcc library
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-26 14:51 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-26 14:51 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-26 06:51:38 -0800 (Fri, 26 Jan 2007)
New Revision: 17541

Log:
- for the native target gcc, drop --enable-optspace in favour of using the configured flags (that default to -Os anyway).
  Saves about 20% size without additional configure args:
   text    data     bss     dec     hex filename
4685000   17280  566360 5268640  5064a0 optspace/i586-linux-uclibc/4.2.0/cc1
3630655   15184  562172 4208011  40358b usrflags/i586-linux-uclibc/4.2.0/cc1
4853646   23532  568528 5445706  53184a optspace/i586-linux-uclibc/4.2.0/f951
3772121   21292  564148 4357561  427db9 usrflags/i586-linux-uclibc/4.2.0/f951


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-26 09:07:26 UTC (rev 17540)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-26 14:51:38 UTC (rev 17541)
@@ -30,18 +30,30 @@
 else
 SOFT_FLOAT_CONFIG_OPTION:=--without-float
 endif
+
 # again... there must be a better way
 ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
+ifeq ($(BR2_SOFT_FLOAT_FP),y)
+TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
+else # no fp at all
+TARGET_SOFT_FLOAT:=-mfloat-abi=soft
 endif
+else # not gcc-4.x
 TARGET_SOFT_FLOAT:=-msoft-float
+endif
 ARCH_FPU_SUFFIX:=_nofpu
-else
+else # no softfloat support
 SOFT_FLOAT_CONFIG_OPTION:=
 TARGET_SOFT_FLOAT:=
 ARCH_FPU_SUFFIX:=
 endif
 
+TARGET_GCC_FLAGS= CFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
+	CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
+	CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)" \
+	BOOT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_SOFT_FLOAT)"
+
 ifeq ($(strip $(BR2_PACKAGE_GCC_TARGET)),y)
 TARGETS+=gcc_target
 endif

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-26 09:07:26 UTC (rev 17540)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-26 14:51:38 UTC (rev 17541)
@@ -333,7 +333,8 @@
 	(cd $(GCC_BUILD_DIR3); rm -rf config.cache ; \
 		PATH=$(TARGET_PATH) \
 		CC_FOR_BUILD="$(HOSTCC)" \
-		BOOT_CFLAGS="$(TARGET_CFLAGS)" \
+		CFLAGS_FOR_BUILD="-g -O2" \
+		$(TARGET_GCC_FLAGS) \
 		$(GCC_DIR)/configure \
 		--prefix=/usr \
 		--build=$(GNU_HOST_NAME) \
@@ -342,7 +343,6 @@
 		--enable-languages=$(GCC_TARGET_LANGUAGES) \
 		--with-gxx-include-dir=/usr/include/c++ \
 		--disable-__cxa_atexit \
-		--enable-target-optspace \
 		--with-gnu-ld \
 		$(GCC_SHARED_LIBGCC) \
 		$(GCC_WITH_TARGET_GMP) \
@@ -354,12 +354,13 @@
 		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
 		$(DISABLE_LARGEFILE) \
-		$(EXTRA_GCC_CONFIG_OPTIONS));
+		$(EXTRA_GCC_CONFIG_OPTIONS) \
+		$(EXTRA_TARGET_GCC_CONFIG_OPTIONS));
 	touch $@
 
 $(GCC_BUILD_DIR3)/.compiled: $(GCC_BUILD_DIR3)/.configured
 	PATH=$(TARGET_PATH) \
-	$(MAKE) $(TARGET_GCC_ARGS) -C $(GCC_BUILD_DIR3) all
+	$(MAKE) -C $(GCC_BUILD_DIR3) all
 	touch $@
 
 #

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-25  0:18 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-25  0:18 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-24 16:18:19 -0800 (Wed, 24 Jan 2007)
New Revision: 17516

Log:
- TODO: cleanup BR2_ARCH selection and establish BR2_CPU


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-25 00:00:02 UTC (rev 17515)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2007-01-25 00:18:19 UTC (rev 17516)
@@ -384,9 +384,10 @@
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
-GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
-GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
+#XXX: FIXME: cleanup BR2_ARCH selection and establish BR2_CPU
+#GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
+#GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
+#GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
 endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2007-01-21 11:50 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2007-01-21 11:50 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-21 03:50:10 -0800 (Sun, 21 Jan 2007)
New Revision: 17432

Log:
- handle all gcc-4.x for the softfloat case.


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-21 11:34:14 UTC (rev 17431)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2007-01-21 11:50:10 UTC (rev 17432)
@@ -22,6 +22,7 @@
 ifeq ($(strip $(BR2_GCC_USE_SJLJ_EXCEPTIONS)),y)
 GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
 endif
+
 ifeq ($(BR2_SOFT_FLOAT),y)
 # gcc 3.4.x soft float configuration is different than previous versions.
 ifeq ($(findstring 3.4.,$(GCC_VERSION)),3.4.)
@@ -30,12 +31,9 @@
 SOFT_FLOAT_CONFIG_OPTION:=--without-float
 endif
 # again... there must be a better way
-ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
+ifeq ($(findstring 4.,$(GCC_VERSION)),4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 endif
-ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
-SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
-endif
 TARGET_SOFT_FLOAT:=-msoft-float
 ARCH_FPU_SUFFIX:=_nofpu
 else

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-28  8:49 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-28  8:49 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-28 00:49:55 -0800 (Thu, 28 Dec 2006)
New Revision: 17099

Log:
- I'm pretty sure that i don't want LFS support on the gcc-4_2-branch
  Leave the rest as is. *shrug*


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-12-28 08:48:31 UTC (rev 17098)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-12-28 08:49:55 UTC (rev 17099)
@@ -110,7 +110,8 @@
 config BR2_INSTALL_LIBSTDCPP
 	bool "Build/install c++ compiler and libstdc++?"
 	default n
-	select BR2_LARGEFILE
+	# huh? why so? select BR2_LARGEFILE
+	select BR2_LARGEFILE if !BR2_GCC_VERSION_4_2
 	help
 	    Build/install c++ compiler and libstdc++?
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-28  8:48 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-28  8:48 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-28 00:48:31 -0800 (Thu, 28 Dec 2006)
New Revision: 17098

Log:
- Pass largefile support down to the cross- and the native target compiler.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-28 08:47:36 UTC (rev 17097)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-28 08:48:31 UTC (rev 17098)
@@ -207,6 +207,7 @@
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
+		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $(GCC_BUILD_DIR2)/.configured
 
@@ -335,6 +336,7 @@
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
 		$(GCC_USE_SJLJ_EXCEPTIONS) \
+		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS));
 	touch $(GCC_BUILD_DIR3)/.configured
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-22 11:45 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-22 11:45 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-22 03:45:20 -0800 (Fri, 22 Dec 2006)
New Revision: 17046

Log:
- add gfortran support


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-12-22 11:43:06 UTC (rev 17045)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-12-22 11:45:20 UTC (rev 17046)
@@ -127,8 +127,16 @@
 	help
 	    Build/install Objective-C compiler and runtime?
 
+config BR2_INSTALL_FORTRAN
+	bool "Build/install Fortran compiler and runtime?"
+	default n
+	select BR2_PACKAGE_LIBMPFR
+	help
+	    Build/install Fortran compiler and runtime?
+
 config BR2_GCC_SHARED_LIBGCC
 	bool "Build/install a shared libgcc?"
 	default y
 	help
 	    Build/install a shared libgcc library
+

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:43:06 UTC (rev 17045)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:45:20 UTC (rev 17046)
@@ -51,8 +51,17 @@
 TARGET_LANGUAGES:=$(TARGET_LANGUAGES),objc
 endif
 
+TARGET_PREREQ =
+STAGING_PREREQ= $(STAGING_DIR)/lib/libc.a
+
 ifeq ($(BR2_INSTALL_FORTRAN),y)
 TARGET_LANGUAGES:=$(TARGET_LANGUAGES),fortran
+TARGET_PREREQ += $(TARGET_DIR)/lib/libmpfr.so
+STAGING_PREREQ+= $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.a
+GCC_WITH_TARGET_GMP:=--with-gmp=$(STAGING_DIR)
+GCC_WITH_TARGET_MPFR:=--with-mpfr=$(STAGING_DIR)
+GCC_WITH_HOST_GMP=--with-gmp=$(GMP_HOST_DIR)
+GCC_WITH_HOST_MPFR=--with-mpfr=$(MPFR_HOST_DIR)
 endif
 
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
@@ -61,6 +70,11 @@
 GCC_SHARED_LIBGCC:=--disable-shared
 endif
 
+ifneq ($(BR2_ENABLE_LOCALE),y)
+GCC_ENABLE_CLOCALE:=--disable-clocale
+endif
+
+
 #############################################################
 #
 # build the first pass gcc compiler
@@ -169,7 +183,7 @@
 # guarantees.  mjn3
 
 GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final
-$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/lib/libc.a
+$(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR2)
 	# Important!  Required for limits.h to be fixed.
 	ln -snf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
@@ -184,6 +198,8 @@
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		$(GCC_WITH_HOST_GMP) \
+		$(GCC_WITH_HOST_MPFR) \
 		$(GCC_SHARED_LIBGCC) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
@@ -311,6 +327,8 @@
 		--enable-target-optspace \
 		--with-gnu-ld \
 		$(GCC_SHARED_LIBGCC) \
+		$(GCC_WITH_HOST_GMP) \
+		$(GCC_WITH_HOST_MPFR) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-22 11:43 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-22 11:43 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-22 03:43:06 -0800 (Fri, 22 Dec 2006)
New Revision: 17045

Log:
- fix building the target-compiler by passing the correct HOSTCC in.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:38:07 UTC (rev 17044)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:43:06 UTC (rev 17045)
@@ -292,9 +292,14 @@
 #############################################################
 GCC_BUILD_DIR3:=$(BUILD_DIR)/gcc-$(GCC_VERSION)-target
 
-$(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR2)/.installed
+$(GCC_BUILD_DIR3)/.prepared: $(GCC_BUILD_DIR2)/.installed $(TARGET_PREREQ)
 	mkdir -p $(GCC_BUILD_DIR3)
-	(cd $(GCC_BUILD_DIR3); PATH=$(TARGET_PATH) \
+	touch $@
+
+$(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.prepared
+	(cd $(GCC_BUILD_DIR3); rm -rf config.cache ; \
+		PATH=$(TARGET_PATH) \
+		CC_FOR_BUILD="$(HOSTCC)" \
 		$(GCC_DIR)/configure \
 		--prefix=/usr \
 		--build=$(GNU_HOST_NAME) \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-22 11:38 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-22 11:38 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-22 03:38:07 -0800 (Fri, 22 Dec 2006)
New Revision: 17044

Log:
- fix setting the REAL_GCC_VERSION if no snapdate was given (i.e. we're using a svn co of the branch).
  sjhill, please verify that this still works for you!


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:29:52 UTC (rev 17043)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-22 11:38:07 UTC (rev 17044)
@@ -336,8 +336,8 @@
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
 ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
-ifneq ($(GCC_SNAP_DATE),)
-REAL_GCC_VERSION:=`cat ${GCC_DIR}/gcc/BASE-VER`
+ifneq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
+REAL_GCC_VERSION=$(shell cat $(GCC_DIR)/gcc/BASE-VER)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
 else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-12 17:01 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-12 17:01 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-12 09:01:26 -0800 (Tue, 12 Dec 2006)
New Revision: 16854

Log:
- workaround vi's syntax highlighting


Modified:
   trunk/buildroot/toolchain/gcc/Makefile.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Makefile.in	2006-12-12 14:38:03 UTC (rev 16853)
+++ trunk/buildroot/toolchain/gcc/Makefile.in	2006-12-12 17:01:26 UTC (rev 16854)
@@ -5,18 +5,20 @@
 # the top level.
 
 GCC_VERSION:=$(strip $(subst ",, $(BR2_GCC_VERSION)))
-#"
+#"))
 TARGET_OPTIMIZATION:=$(strip $(subst ",, $(BR2_TARGET_OPTIMIZATION)))
-#"
+#"))
 EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
-#"
+#"))
 ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
+#"))
 GCC_SNAP_DATE:=$(strip $(subst ",, $(BR2_GCC_SNAP_DATE)))
+#"))
 else
 GCC_SNAP_DATE:=
 endif
+#")))
 
-
 ifeq ($(strip $(BR2_GCC_USE_SJLJ_EXCEPTIONS)),y)
 GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions
 endif

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-10 13:24 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-10 13:24 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-10 05:24:03 -0800 (Sun, 10 Dec 2006)
New Revision: 16832

Log:
- revert r16800.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-10 02:52:19 UTC (rev 16831)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-10 13:24:03 UTC (rev 16832)
@@ -115,7 +115,7 @@
 # fixed, so we need to actually have working C library header files prior to
 # the step or libgcc will not build...
 
-$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched uclibc-configured
+$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
 		CC="$(HOSTCC)" \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-07 17:02 aldot at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: aldot at uclibc.org @ 2006-12-07 17:02 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2006-12-07 09:02:32 -0800 (Thu, 07 Dec 2006)
New Revision: 16800

Log:
- The sysroot requires an existing argument, so make sure that we did configure
  uClibc properly before attempting to use it.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-07 16:31:21 UTC (rev 16799)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-07 17:02:32 UTC (rev 16800)
@@ -115,7 +115,7 @@
 # fixed, so we need to actually have working C library header files prior to
 # the step or libgcc will not build...
 
-$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
+$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched uclibc-configured
 	mkdir -p $(GCC_BUILD_DIR1)
 	(cd $(GCC_BUILD_DIR1); PATH=$(TARGET_PATH) \
 		CC="$(HOSTCC)" \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-07  4:49 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2006-12-07  4:49 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2006-12-06 20:49:05 -0800 (Wed, 06 Dec 2006)
New Revision: 16795

Log:
Update to newer snapshot.


Modified:
   trunk/buildroot/toolchain/gcc/Config.in


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-12-06 23:14:31 UTC (rev 16794)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-12-07 04:49:05 UTC (rev 16795)
@@ -68,7 +68,7 @@
 
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
-	default "20060408"
+	default "20061121"
 	depends BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-12-02  5:15 sjhill at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: sjhill at uclibc.org @ 2006-12-02  5:15 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2006-12-01 21:15:27 -0800 (Fri, 01 Dec 2006)
New Revision: 16750

Log:
For GCC 4.2 snapshots, we need to get the actual version from the BASE-VER file so that the target compiler will build and install properly.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-02 02:01:57 UTC (rev 16749)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-12-02 05:15:27 UTC (rev 16750)
@@ -335,9 +335,14 @@
 ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
-ifeq ($(findstring 4.2.,$(GCC_VERSION)),4.2.)
+ifeq ($(findstring 4.2,$(GCC_VERSION)),4.2)
+ifneq ($(GCC_SNAP_DATE),)
+REAL_GCC_VERSION:=`cat ${GCC_DIR}/gcc/BASE-VER`
+GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(REAL_GCC_VERSION)
+else
 GCC_LIB_SUBDIR=lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)
 endif
+endif
 
 $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
 	PATH=$(TARGET_PATH) \

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-11-16  9:55 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2006-11-16  9:55 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2006-11-16 01:55:20 -0800 (Thu, 16 Nov 2006)
New Revision: 16536

Log:
Make sure libgcc_s.so.1 and friends always gets installed in TARGET_DIR.
Patch by Lars Munch.


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-11-16 02:27:24 UTC (rev 16535)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-11-16 09:55:20 UTC (rev 16536)
@@ -250,6 +250,9 @@
 	#
 	# Ok... that's enough of that.
 	#
+	touch $(GCC_BUILD_DIR2)/.installed
+
+gcc-target-libs: $(GCC_BUILD_DIR2)/.installed
 ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -266,10 +269,9 @@
 	-cp -a $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
 	-cp -a $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
-	touch $(GCC_BUILD_DIR2)/.installed
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
-	$(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
+	$(GCC_BUILD_DIR2)/.installed gcc-target-libs $(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
 

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-10-26 15:15 jacmet at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: jacmet at uclibc.org @ 2006-10-26 15:15 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2006-10-26 08:15:08 -0700 (Thu, 26 Oct 2006)
New Revision: 16442

Log:
Fix missing libgcc_s.so.1 with BR2_GCC_SHARED_LIBGCC

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-26 01:47:34 UTC (rev 16441)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-26 15:15:08 UTC (rev 16442)
@@ -250,12 +250,11 @@
 	#
 	# Ok... that's enough of that.
 	#
-	touch $(GCC_BUILD_DIR2)/.installed
-
-$(TARGET_DIR)/lib/libgcc_s.so.1: $(GCC_BUILD_DIR2)/.installed
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
 	# These are in /lib, so...
 	rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
 	-cp -a $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+endif
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 	-cp -a $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/lib/
 endif
@@ -267,7 +266,7 @@
 	-cp -a $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
 	-cp -a $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
 endif
-	touch -c $(TARGET_DIR)/lib/libgcc_s.so.1
+	touch $(GCC_BUILD_DIR2)/.installed
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
 	$(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)

^ permalink raw reply	[flat|nested] 170+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc
@ 2006-10-02 19:40 andersen at uclibc.org
  0 siblings, 0 replies; 170+ messages in thread
From: andersen at uclibc.org @ 2006-10-02 19:40 UTC (permalink / raw)
  To: buildroot

Author: andersen
Date: 2006-10-02 12:40:44 -0700 (Mon, 02 Oct 2006)
New Revision: 16292

Log:
add a know to enable/disable building a shared libgcc


Modified:
   trunk/buildroot/toolchain/gcc/Config.in
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================
--- trunk/buildroot/toolchain/gcc/Config.in	2006-10-02 18:52:49 UTC (rev 16291)
+++ trunk/buildroot/toolchain/gcc/Config.in	2006-10-02 19:40:44 UTC (rev 16292)
@@ -126,3 +126,9 @@
 	default n
 	help
 	    Build/install Objective-C compiler and runtime?
+
+config BR2_GCC_SHARED_LIBGCC
+	bool "Build/install a shared libgcc?"
+	default y
+	help
+	    Build/install a shared libgcc library

Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-02 18:52:49 UTC (rev 16291)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2006-10-02 19:40:44 UTC (rev 16292)
@@ -55,6 +55,12 @@
 TARGET_LANGUAGES:=$(TARGET_LANGUAGES),fortran
 endif
 
+ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
+GCC_SHARED_LIBGCC:=--enable-shared
+else
+GCC_SHARED_LIBGCC:=--disable-shared
+endif
+
 #############################################################
 #
 # build the first pass gcc compiler
@@ -119,11 +125,11 @@
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--enable-languages=c \
-		--disable-shared \
 		--with-sysroot=$(TOOL_BUILD_DIR)/uClibc_dev/ \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		--disable-shared \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
@@ -175,10 +181,10 @@
 		--host=$(GNU_HOST_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--enable-languages=$(TARGET_LANGUAGES) \
-		--enable-shared \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		$(GCC_SHARED_LIBGCC) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \
@@ -264,7 +270,7 @@
 	touch -c $(TARGET_DIR)/lib/libgcc_s.so.1
 
 gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
-	$(TARGET_DIR)/lib/libgcc_s.so.1 $(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
+	$(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
 
 gcc-source: $(DL_DIR)/$(GCC_SOURCE)
 
@@ -294,11 +300,11 @@
 		--host=$(REAL_GNU_TARGET_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--enable-languages=$(TARGET_LANGUAGES) \
-		--enable-shared \
 		--with-gxx-include-dir=/usr/include/c++ \
 		--disable-__cxa_atexit \
 		--enable-target-optspace \
 		--with-gnu-ld \
+		$(GCC_SHARED_LIBGCC) \
 		$(DISABLE_NLS) \
 		$(THREADS) \
 		$(MULTILIB) \

^ permalink raw reply	[flat|nested] 170+ messages in thread

end of thread, other threads:[~2009-03-01 20:20 UTC | newest]

Thread overview: 170+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-08 16:27 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc aldot at uclibc.org
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01 20:20 jacmet at uclibc.org
2009-01-30 13:34 jacmet at uclibc.org
2009-01-29 19:24 jacmet at uclibc.org
2009-01-29 19:13 jacmet at uclibc.org
2009-01-22 11:18 jacmet at uclibc.org
2009-01-22 10:04 jacmet at uclibc.org
2009-01-17 22:38 Frank Hoeflich
2009-01-17 23:53 ` Shinya Kuribayashi
2009-01-16 14:13 jacmet at uclibc.org
2009-01-16 14:13 jacmet at uclibc.org
2009-01-16 16:36 ` Sven Neumann
2009-01-16 19:20   ` Peter Korsgaard
2009-01-18 13:47     ` Sven Neumann
2009-01-20  9:38       ` Peter Korsgaard
2009-01-17 15:37 ` Shinya Kuribayashi
2009-01-17 16:29   ` Peter Korsgaard
2009-01-17 23:07     ` Shinya Kuribayashi
2009-01-18  8:37       ` Peter Korsgaard
2009-01-18  8:48         ` Shinya Kuribayashi
2009-01-18 11:02           ` Peter Korsgaard
2008-10-02 15:02 egtvedt at uclibc.org
2008-10-02 14:32 egtvedt at uclibc.org
2008-08-22 13:59 jacmet at uclibc.org
2008-07-08 19:31 ulf at uclibc.org
2008-06-21 19:47 jacmet at uclibc.org
2008-06-22 10:25 ` Luigi 'Comio' Mantellini
2008-06-22 11:17   ` Peter Korsgaard
2008-06-22 20:18     ` Bernhard Fischer
2008-06-22 20:52       ` Peter Korsgaard
2008-09-17 11:12         ` Fathi Boudra
2008-09-17 11:33           ` Peter Korsgaard
2008-09-17 11:45             ` Fathi Boudra
2008-09-17 14:03               ` Peter Korsgaard
2008-06-19 19:06 jacmet at uclibc.org
2008-06-18 15:46 jacmet at uclibc.org
2008-06-19  0:38 ` Hamish Moffatt
2008-06-19  7:01   ` Peter Korsgaard
2008-06-18 15:42 jacmet at uclibc.org
2008-06-18 16:33 ` Thiago A. Corrêa
2008-06-18 17:59   ` Peter Korsgaard
2008-06-18 18:29     ` Bernhard Fischer
2008-06-17 13:33 jacmet at uclibc.org
2008-06-17 13:28 jacmet at uclibc.org
2008-06-17 12:54 jacmet at uclibc.org
2008-06-17 13:10 ` Hans-Christian Egtvedt
2008-06-17 13:33   ` Peter Korsgaard
2008-06-06 12:49 jacmet at uclibc.org
2008-04-04 14:16 jacmet at uclibc.org
2008-03-30  8:07 nkukard at uclibc.org
2008-03-30  8:06 nkukard at uclibc.org
2008-03-30  8:05 nkukard at uclibc.org
2008-03-30  8:04 nkukard at uclibc.org
2007-12-17 11:37 vanokuten at uclibc.org
2007-12-13 12:10 vanokuten at uclibc.org
2007-10-20 18:09 vanokuten at uclibc.org
2007-10-19 17:51 vanokuten at uclibc.org
2007-10-12 21:01 ulf at uclibc.org
2007-10-13  8:49 ` Cristian Ionescu-Idbohrn
2007-10-13  9:57   ` Ulf Samuelsson
2007-10-13 10:19     ` Cristian Ionescu-Idbohrn
2007-10-13 11:23       ` Bernhard Fischer
2007-10-13 18:37       ` Ulf Samuelsson
2007-10-13 19:58         ` Cristian Ionescu-Idbohrn
2007-10-13 20:31           ` Ulf Samuelsson
2007-10-13 23:31             ` Cristian Ionescu-Idbohrn
2007-10-14  1:08               ` Ivan Kuten
2007-10-15  6:50               ` Ulf Samuelsson
2007-10-15 17:40                 ` Cristian Ionescu-Idbohrn
2007-10-15 18:16                   ` Ulf Samuelsson
2007-10-15 18:55                   ` Bernhard Fischer
2007-10-15 19:27                     ` Ulf Samuelsson
2007-10-13 11:25     ` Bernhard Fischer
2007-10-12 15:14 ulf at uclibc.org
2007-10-12 12:30 ulf at uclibc.org
2007-10-07 17:22 ulf at uclibc.org
2007-10-01 21:12 ulf at uclibc.org
2007-10-01 21:06 aldot at uclibc.org
2007-10-01 12:57 aldot at uclibc.org
2007-10-01 12:56 aldot at uclibc.org
2007-09-29 20:44 ulf at uclibc.org
2007-09-29 17:32 ulf at uclibc.org
2007-09-28 19:53 ulf at uclibc.org
2007-09-25 17:21 aldot at uclibc.org
2007-09-25 16:39 aldot at uclibc.org
2007-09-23 21:23 aldot at uclibc.org
2007-09-20  9:25 aldot at uclibc.org
2007-09-19 18:46 aldot at uclibc.org
2007-09-19 17:32 aldot at uclibc.org
2007-09-15 12:12 aldot at uclibc.org
2007-09-04  7:35 aldot at uclibc.org
2007-09-03  6:26 ulf at uclibc.org
2007-09-03 14:09 ` Bernhard Fischer
2007-09-03 14:29   ` Ulf Samuelsson
2007-09-03 16:22     ` Rouslan Solomakhin
2007-09-03 21:16       ` Ulf Samuelsson
2007-09-04  8:22         ` Cristian Ionescu-Idbohrn
2007-09-04  8:43           ` Peter Korsgaard
2007-09-04  7:39     ` Bernhard Fischer
2007-09-03  6:10 ulf at uclibc.org
2007-09-01 17:11 aldot at uclibc.org
2007-09-01 17:09 aldot at uclibc.org
2007-08-26 21:00 aldot at uclibc.org
2007-08-26 20:47 aldot at uclibc.org
2007-08-21 10:32 aldot at uclibc.org
2007-08-21 10:28 aldot at uclibc.org
2007-08-21 10:26 ` Cristian Ionescu-Idbohrn
2007-08-21 11:11   ` Bernhard Fischer
2007-08-19 21:15 ulf at uclibc.org
2007-08-01 19:15 ulf at uclibc.org
2007-08-01  8:58 ulf at uclibc.org
2007-07-31 15:07 aldot at uclibc.org
2007-07-30 18:24 ulf at uclibc.org
2007-07-29 17:51 ulf at uclibc.org
2007-07-29 17:43 ulf at uclibc.org
2007-07-30  7:21 ` Bernhard Fischer
2007-07-30  7:53   ` Hans-Christian Egtvedt
2007-07-30  8:39     ` Bernhard Fischer
2007-07-30  9:14       ` Hans-Christian Egtvedt
2007-07-30  9:21         ` Bernhard Fischer
2007-07-30 10:19           ` Hans-Christian Egtvedt
2007-07-30 10:32             ` Bernhard Fischer
2007-07-30 10:41               ` Hans-Christian Egtvedt
2007-07-30 14:25   ` Ulf Samuelsson
2007-07-29 17:36 ulf at uclibc.org
2007-07-30  7:19 ` Bernhard Fischer
2007-07-08 13:13 aldot at uclibc.org
2007-07-08 12:50 aldot at uclibc.org
2007-07-07 23:55 aldot at uclibc.org
2007-07-07 12:58 aldot at uclibc.org
2007-07-07 12:28 ulf at uclibc.org
2007-09-01 18:43 ` Bernhard Fischer
2007-09-03  7:41   ` Ulf Samuelsson
2007-07-07  7:34 ulf at uclibc.org
2007-07-07  9:33 ` Bernhard Fischer
2007-07-07 11:55   ` Ulf Samuelsson
2007-07-07 12:39     ` Bernhard Fischer
2007-07-05  5:15 sjhill at uclibc.org
2007-07-05  5:13 sjhill at uclibc.org
2007-06-28 14:05 aldot at uclibc.org
2007-06-25  7:52 aldot at uclibc.org
2007-06-24 11:30 aldot at uclibc.org
2007-05-24 21:23 jacmet at uclibc.org
2007-05-15 13:58 jacmet at uclibc.org
2007-04-13  2:04 sjhill at uclibc.org
2007-04-02 16:18 aldot at uclibc.org
2007-03-22 17:21 aldot at uclibc.org
2007-02-14  8:49 aldot at uclibc.org
2007-02-09 14:05 aldot at uclibc.org
2007-02-09 13:43 aldot at uclibc.org
2007-02-04 21:59 aldot at uclibc.org
2007-02-04 15:23 aldot at uclibc.org
2007-01-31 15:09 aldot at uclibc.org
2007-01-28 11:57 aldot at uclibc.org
2007-01-26 14:51 aldot at uclibc.org
2007-01-25  0:18 aldot at uclibc.org
2007-01-21 11:50 aldot at uclibc.org
2006-12-28  8:49 aldot at uclibc.org
2006-12-28  8:48 aldot at uclibc.org
2006-12-22 11:45 aldot at uclibc.org
2006-12-22 11:43 aldot at uclibc.org
2006-12-22 11:38 aldot at uclibc.org
2006-12-12 17:01 aldot at uclibc.org
2006-12-10 13:24 aldot at uclibc.org
2006-12-07 17:02 aldot at uclibc.org
2006-12-07  4:49 sjhill at uclibc.org
2006-12-02  5:15 sjhill at uclibc.org
2006-11-16  9:55 jacmet at uclibc.org
2006-10-26 15:15 jacmet at uclibc.org
2006-10-02 19:40 andersen at uclibc.org

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.