GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

37 versions of GCC.

ProgramAgeSizeByWWWSummary
GCC 7.2.0-r1 843  3028
The GNU Compiler Collection
GCC 6.3.0-r2 1122  3106 Luca...
The GNU Compiler Collection
GCC 6.2.0-r4 1059  3115 Xavi...
The GNU Compiler Collection
GCC 5.4.0-r1 1122  3133 Demi...
The GNU Compiler Collection
GCC 5.3.0-r1 1379  3000 Hish...
The GNU Compiler Collection
GCC 4.8.2-r1 2201  2983 Hish...
The GNU Compiler Collection
GCC 4.6.1-r1 2993  3478 Mich...
The GNU Compiler Collection
GCC 4.6.0-r1 3176  3491 Josh...
The GNU Compiler Collection
GCC 4.5.2-r1 3251  3493 Josh...
The GNU Compiler Collection
GCC 4.5.1-r1 3456  3510 Hugo...
The GNU Compiler Collection
GCC 4.5.0-r1 3540  3495 Hugo...
The GNU Compiler Collection
GCC 4.4.2-r2 3693  3511 Hugo...
The GNU Compiler Collection
GCC 4.4.1-r1 3781  3460 Jona...
The GNU Compiler Collection
GCC 4.4.0-r1 3903  3446 Jona...
The GNU Compiler Collection
GCC 4.3.5-r1 3456  3471 Hugo...
The GNU Compiler Collection
GCC 4.3.3-r1 3980  3434 Giam...
The GNU Compiler Collection
GCC 4.3.2-r1 3980  3406 Giam...
The GNU Compiler Collection
GCC 4.3.1-r3 3980  3514 Jona...
The GNU Compiler Collection
GCC 4.3.0-r2 3980  3358 Jona...
The GNU Compiler Collection
GCC 4.2.4-r1 3980  3984 Ősi...
The GNU Compiler Collection
GCC 4.2.3-r2 3980  3238 Giam...
The GNU Compiler Collection
GCC 4.2.2-r1 3980  3134 Dani...
The GNU Compiler Collection
GCC 4.1.2-r1 3980  3079 Luca...
The GNU Compiler Collection
GCC 4.1.1-r3 3980  3059 Andr...
The GNU Compiler Collection
GCC 4.0.2-r1 3980  2543 Andr...
The GNU Compiler Collection
GCC 4.0.1-r1 3980  1895 Andr...
The GNU Compiler Collection
GCC 4.0.0-r1 3980  1898 Andr...
The GNU Compiler Collection
GCC 3.4.6-r1 3980  2069 Jona...
The GNU Compiler Collection
GCC 3.4.5-r1 3980  1930 Hish...
The GNU Compiler Collection
GCC 3.4.4-r1 3980  1894 Andr...
The GNU Compiler Collection
GCC 3.4.3-r1 3980  1904 Hish...
The GNU Compiler Collection
GCC 3.4.2-r1 3980  1896 Andr...
The GNU Compiler Collection
GCC 3.4.1-r1 3980  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
When configuring a s390->s390 or cris->cris crosscompiler
(ok, I haven't hit this yet, but one of these days I'll get me an account
on an s390, and then I'll need this patch :-), you'll get the
following error:

+ /build/s390-unknown-linux-gnu/gcc-3.3-glibc-2.3.2/gcc-3.3/configure
--target=s390-unknown-linux-gnu --host=s390-host_unknown-linux-gnu
--prefix=/result/s390-unknown-linux-gnu/gcc-3.3-glibc-2.3.2
--enable-languages=c
--with-local-prefix=/result/s390-unknown-linux-gnu/gcc-3.3-glibc-2.3.2/s390-
unknown-linux-gnu --enable-threads=no --without-headers --with-newlib
--disable-shared
...
*** --with-headers is only supported when cross compiling

This error pops up only when you're using Daniel Jacobowitz's technique
of slightly changing the target and host tuples to make them different
enough to force gcc's build system to not try to pull in system libraries
or headers.  This technique is needed e.g. to build an x86 -> x86
cross-compiler.
(The LFS developers ran into the same bug that prompted me to use
this technique; they point people who run into it to
http://linuxfromscratch.org/~greg/pure_lfs.txt, which is a different
way of avoiding this problem.  I think the tuple tweak is the way to go, though.)

config-patches@gnu.org rejected this patch, on the grounds that there
is only one vendor of each of those two architectures, so the 
canonicalization is by definition correct.  When I pointed out the
difficulty this causes for people building s390 -> s390 or
cris -> cris compilers that are incompatible with the system
libraries and thus must be built like cross-compilers, he grumped and said 
"autoconf should let you specify a cross-compiler in some other way than
comparing tuple strings".



--- gcc-3.3/config.sub.old	Sun Jun  8 20:38:47 2003
+++ gcc-3.3/config.sub	Sun Jun  8 20:40:34 2003
@@ -433,9 +433,12 @@
 	crds | unos)
 		basic_machine=m68k-crds
 		;;
-	cris | cris-* | etrax*)
+	cris | etrax*)
 		basic_machine=cris-axis
 		;;
+	cris-*)
+		basic_machine=cris-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	da30 | da30-*)
 		basic_machine=m68k-da30
 		;;
@@ -820,11 +823,17 @@
 	rtpc | rtpc-*)
 		basic_machine=romp-ibm
 		;;
-	s390 | s390-*)
+	s390)
 		basic_machine=s390-ibm
 		;;
-	s390x | s390x-*)
+	s390-*)
+		basic_machine=s390-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
+	s390x)
 		basic_machine=s390x-ibm
+		;;
+	s390x-*)
+		basic_machine=s390x-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	sa29200)
 		basic_machine=a29k-amd
GCC 3.4.0-r1 3980  2362
The GNU Compiler Collection
GCC 3.3.3-r1 3980  1609
The GNU Compiler Collection
GCC 3.3.2-r1 3980  2313
The GNU Compiler Collection
GCC 3.3.1-r1 3980  2537
The GNU Compiler Collection