GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

37 versions of GCC.

ProgramAgeSizeByWWWSummary
GCC 7.2.0-r1 968  3028
The GNU Compiler Collection
GCC 6.3.0-r2 1247  3106 Luca...
The GNU Compiler Collection
GCC 6.2.0-r4 1184  3115 Xavi...
The GNU Compiler Collection
GCC 5.4.0-r1 1247  3133 Demi...
The GNU Compiler Collection
GCC 5.3.0-r1 1504  3000 Hish...
The GNU Compiler Collection
GCC 4.8.2-r1 2326  2983 Hish...
The GNU Compiler Collection
GCC 4.6.1-r1 3118  3478 Mich...
The GNU Compiler Collection
GCC 4.6.0-r1 3301  3491 Josh...
The GNU Compiler Collection
GCC 4.5.2-r1 3376  3493 Josh...
The GNU Compiler Collection
GCC 4.5.1-r1 3581  3510 Hugo...
The GNU Compiler Collection
GCC 4.5.0-r1 3665  3495 Hugo...
The GNU Compiler Collection
GCC 4.4.2-r2 3818  3511 Hugo...
The GNU Compiler Collection
GCC 4.4.1-r1 3906  3460 Jona...
The GNU Compiler Collection
GCC 4.4.0-r1 4028  3446 Jona...
The GNU Compiler Collection
GCC 4.3.5-r1 3581  3471 Hugo...
The GNU Compiler Collection
GCC 4.3.3-r1 4105  3434 Giam...
The GNU Compiler Collection
GCC 4.3.2-r1 4105  3406 Giam...
The GNU Compiler Collection
GCC 4.3.1-r3 4105  3514 Jona...
The GNU Compiler Collection
GCC 4.3.0-r2 4105  3358 Jona...
The GNU Compiler Collection
GCC 4.2.4-r1 4105  3984 Ősi...
The GNU Compiler Collection
GCC 4.2.3-r2 4105  3238 Giam...
The GNU Compiler Collection
GCC 4.2.2-r1 4105  3134 Dani...
The GNU Compiler Collection
GCC 4.1.2-r1 4105  3079 Luca...
The GNU Compiler Collection
GCC 4.1.1-r3 4105  3059 Andr...
The GNU Compiler Collection
GCC 4.0.2-r1 4105  2543 Andr...
The GNU Compiler Collection
GCC 4.0.1-r1 4105  1895 Andr...
The GNU Compiler Collection
GCC 4.0.0-r1 4105  1898 Andr...
The GNU Compiler Collection
GCC 3.4.6-r1 4105  2069 Jona...
The GNU Compiler Collection
GCC 3.4.5-r1 4105  1930 Hish...
The GNU Compiler Collection
GCC 3.4.4-r1 4105  1894 Andr...
The GNU Compiler Collection
GCC 3.4.3-r1 4105  1904 Hish...
The GNU Compiler Collection
GCC 3.4.2-r1 4105  1896 Andr...
The GNU Compiler Collection
GCC 3.4.1-r1 4105  5811
The GNU Compiler Collection
view entry at GitHub | download recipe.bz2 file
01-no_fixincludes-1.patch
02-arm-bigendian.patch
03-arm-lib1asm.patch
04-arm-nolibfloat.patch
05-cris-config.sub.patch
06-sh4-pr11608.patch
Recipe
Resources/Dependencies
Resources/Description
Resources/Environment
By Lennert Buytenhek <buytenh@wantstofly.org>
Adds support for arm*b-linux* big-endian ARM targets

See http://gcc.gnu.org/PR16350

diff -urN gcc-3.4.0.orig/gcc/config/arm/linux-elf.h gcc-3.4.0/gcc/config/arm/linux-elf.h
--- gcc-3.4.0.orig/gcc/config/arm/linux-elf.h	2004-01-31 07:18:11.000000000 +0100
+++ gcc-3.4.0/gcc/config/arm/linux-elf.h	2004-07-02 14:46:29.225443757 +0200
@@ -30,17 +30,34 @@
 /* Do not assume anything about header files.  */
 #define NO_IMPLICIT_EXTERN_C
 
+/*
+ * 'config.gcc' defines TARGET_BIG_ENDIAN_DEFAULT as 1 for arm*b-*
+ * (big endian) configurations.
+ */
+#if TARGET_BIG_ENDIAN_DEFAULT
+#define TARGET_ENDIAN_DEFAULT ARM_FLAG_BIG_END
+#define TARGET_ENDIAN_OPTION "mbig-endian"
+#define TARGET_LINKER_EMULATION "armelfb_linux"
+#else
+#define TARGET_ENDIAN_DEFAULT 0
+#define TARGET_ENDIAN_OPTION "mlittle-endian"
+#define TARGET_LINKER_EMULATION "armelf_linux"
+#endif
+
 /* Default is to use APCS-32 mode.  */
 #undef  TARGET_DEFAULT
-#define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_MMU_TRAPS)
+#define TARGET_DEFAULT \
+		( ARM_FLAG_APCS_32 | \
+		  ARM_FLAG_MMU_TRAPS | \
+		  TARGET_ENDIAN_DEFAULT )
 
 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6
 
-#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux -p"
+#define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION " -p"
 
 #undef  MULTILIB_DEFAULTS
 #define MULTILIB_DEFAULTS \
-	{ "marm", "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" }
+	{ "marm", TARGET_ENDIAN_OPTION, "mhard-float", "mapcs-32", "mno-thumb-interwork" \
}
 
 #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
 
@@ -89,7 +106,7 @@
    %{rdynamic:-export-dynamic} \
    %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} \
    -X \
-   %{mbig-endian:-EB}" \
+   %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
    SUBTARGET_EXTRA_LINK_SPEC
 
 #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
diff -urN gcc-3.4.0.orig/gcc/config.gcc gcc-3.4.0/gcc/config.gcc
--- gcc-3.4.0.orig/gcc/config.gcc	2004-04-17 04:28:24.000000000 +0200
+++ gcc-3.4.0/gcc/config.gcc	2004-07-02 14:44:40.045822542 +0200
@@ -666,6 +666,11 @@
 	;;
 arm*-*-linux*)			# ARM GNU/Linux with ELF
 	tm_file="dbxelf.h elfos.h linux.h arm/elf.h  arm/linux-gas.h arm/linux-elf.h arm/aout.h \
arm/arm.h"
+	case $target in
+	arm*b-*)
+		tm_defines="TARGET_BIG_ENDIAN_DEFAULT=1 $tm_defines"
+		;;
+	esac
 	tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux"
 	extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
 	gnu_ld=yes
GCC 3.4.0-r1 4105  2362
The GNU Compiler Collection
GCC 3.3.3-r1 4105  1609
The GNU Compiler Collection
GCC 3.3.2-r1 4105  2313
The GNU Compiler Collection
GCC 3.3.1-r1 4105  2537
The GNU Compiler Collection