Browse Source

- adjust to use the gcc-4.2.0 release
- adjust default gdb version to 6.6
- fix stripping gmp/mpfr due to recent LIBTGTEXT changes

Bernhard Reutner-Fischer 18 years ago
parent
commit
c6eb2ed657

+ 1 - 1
package/gmp/gmp.mk

@@ -86,7 +86,7 @@ $(STAGING_DIR)/lib/$(GMP_BINARY): $(GMP_TARGET_DIR)/.libs/$(GMP_BINARY)
 	    infodir=$(STAGING_DIR)/info \
 	    mandir=$(STAGING_DIR)/man \
             -C $(GMP_TARGET_DIR) install
-	$(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libgmp.{so*,a}
+	$(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libgmp$(LIBTGTEXT)*
 
 $(TARGET_DIR)/lib/libgmp.so $(TARGET_DIR)/lib/libgmp.so.$(GMP_LIBVERSION) $(TARGET_DIR)/lib/libgmp.a: $(STAGING_DIR)/lib/$(GMP_BINARY)
 	cp -dpf $(STAGING_DIR)/lib/libgmp$(LIBTGTEXT) $(TARGET_DIR)/lib/

+ 1 - 1
package/mpfr/mpfr.mk

@@ -100,7 +100,7 @@ $(STAGING_DIR)/lib/$(MPFR_BINARY): $(MPFR_TARGET_DIR)/.libs/$(MPFR_BINARY)
 	    infodir=$(STAGING_DIR)/info \
 	    mandir=$(STAGING_DIR)/man \
 	    -C $(MPFR_TARGET_DIR) install;
-	$(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libmpfr.{so*,a}
+	$(STRIP) --strip-unneeded $(STAGING_DIR)/lib/libmpfr$(LIBTGTEXT)*
 
 $(TARGET_DIR)/lib/libmpfr.so $(TARGET_DIR)/lib/libmpfr.so.$(MPFR_LIBVERSION) $(TARGET_DIR)/lib/libmpfr.a: $(STAGING_DIR)/lib/$(MPFR_BINARY)
 	cp -dpf $(STAGING_DIR)/lib/libmpfr$(LIBTGTEXT) $(TARGET_DIR)/lib/

+ 0 - 0
toolchain/gcc/4.2/100-uclibc-conf.patch → toolchain/gcc/4.2.0/100-uclibc-conf.patch


+ 0 - 0
toolchain/gcc/4.2/103-uclibc-conf-noupstream.patch → toolchain/gcc/4.2.0/103-uclibc-conf-noupstream.patch


+ 0 - 0
toolchain/gcc/4.2/200-uclibc-locale.patch → toolchain/gcc/4.2.0/200-uclibc-locale.patch


+ 0 - 0
toolchain/gcc/4.2/203-uclibc-locale-no__x.patch → toolchain/gcc/4.2.0/203-uclibc-locale-no__x.patch


+ 0 - 0
toolchain/gcc/4.2/204-uclibc-locale-wchar_fix.patch → toolchain/gcc/4.2.0/204-uclibc-locale-wchar_fix.patch


+ 0 - 0
toolchain/gcc/4.2/205-uclibc-locale-update.patch → toolchain/gcc/4.2.0/205-uclibc-locale-update.patch


+ 0 - 0
toolchain/gcc/4.2/300-libstdc++-pic.patch → toolchain/gcc/4.2.0/300-libstdc++-pic.patch


+ 0 - 0
toolchain/gcc/4.2/301-missing-execinfo_h.patch → toolchain/gcc/4.2.0/301-missing-execinfo_h.patch


+ 0 - 0
toolchain/gcc/4.2/302-c99-snprintf.patch → toolchain/gcc/4.2.0/302-c99-snprintf.patch


+ 0 - 0
toolchain/gcc/4.2/303-c99-complex-ugly-hack.patch → toolchain/gcc/4.2.0/303-c99-complex-ugly-hack.patch


+ 0 - 0
toolchain/gcc/4.2/304-index_macro.patch → toolchain/gcc/4.2.0/304-index_macro.patch


+ 0 - 0
toolchain/gcc/4.2/305-libmudflap-susv3-legacy.patch → toolchain/gcc/4.2.0/305-libmudflap-susv3-legacy.patch


+ 0 - 0
toolchain/gcc/4.2/306-libstdc++-namespace.patch → toolchain/gcc/4.2.0/306-libstdc++-namespace.patch


+ 0 - 0
toolchain/gcc/4.2/402-libbackend_dep_gcov-iov.h.patch → toolchain/gcc/4.2.0/402-libbackend_dep_gcov-iov.h.patch


+ 0 - 0
toolchain/gcc/4.2/800-arm-bigendian.patch → toolchain/gcc/4.2.0/800-arm-bigendian.patch


+ 11 - 6
toolchain/gcc/Config.in

@@ -4,7 +4,7 @@ comment "Gcc Options"
 
 choice
 	prompt "GCC compiler Version"
-	default BR2_GCC_VERSION_4_1_2
+	default BR2_GCC_VERSION_4_2_0
 	help
 	  Select the version of gcc you wish to use.
 
@@ -67,10 +67,14 @@ choice
 		depends !BR2_nios2
 		bool "gcc 4.1.2"
 
-	config BR2_GCC_VERSION_4_2
+	config BR2_GCC_VERSION_4_2_0
 		depends !BR2_nios2
-		select BR2_GCC_IS_SNAP
-		bool "gcc 4.2"
+		bool "gcc 4.2.0"
+
+#	config BR2_GCC_VERSION_4_3
+#		depends !BR2_nios2
+#		select BR2_GCC_IS_SNAP
+#		bool "gcc 4.3"
 
 endchoice
 
@@ -80,7 +84,7 @@ config BR2_GCC_IS_SNAP
 
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
-	default "20061121"
+	default "20070601"
 	depends BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:
@@ -103,7 +107,8 @@ config BR2_GCC_VERSION
 	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
+	default "4.2.0"     if BR2_GCC_VERSION_4_2_0
+	default "4.3"       if BR2_GCC_VERSION_4_3
 
 
 config BR2_GCC_USE_SJLJ_EXCEPTIONS

+ 8 - 4
toolchain/gcc/gcc-uclibc-3.x.mk

@@ -36,13 +36,17 @@ GCC_STRIP_HOST_BINARIES:=true
 
 ifeq ($(findstring 3.,$(GCC_VERSION)),3.)
 GCC_NO_MPFR:=y
-endif
+else
+ifneq ($(BR2_INSTALL_FORTRAN),y)
+# fortran needs gmp and mpfr
 ifeq ($(findstring 4.0.,$(GCC_VERSION)),4.0.)
 GCC_NO_MPFR:=y
 endif
-#ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
-#GCC_NO_MPFR:=y
-#endif
+ifeq ($(findstring 4.1.,$(GCC_VERSION)),4.1.)
+GCC_NO_MPFR:=y
+endif
+endif
+endif
 
 #############################################################
 #

+ 1 - 1
toolchain/gdb/Config.in

@@ -22,7 +22,7 @@ config BR2_PACKAGE_GDB_HOST
 
 choice
 	prompt "GDB debugger Version"
-	default BR2_GDB_VERSION_6_3
+	default BR2_GDB_VERSION_6_6
 	depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
 	help
 	  Select the version of gdb you wish to use.