1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/2.95.3/backport-config.gcc-1.92.patch Tue May 22 21:16:17 2007 +0000
1.3 @@ -0,0 +1,39 @@
1.4 +# Taken from http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?r1=1.91&r2=1.92
1.5 +# Should fix error
1.6 +# Configuration x86_64-host_unknown-linux-gnu not supported
1.7 +# when configuring gcc-2.95 on x86_64 build for i686 target
1.8 +# It's a bit silly, since tm_file refers to files that don't exist,
1.9 +# but as long as x86_64 is just the build machine, that doesn't matter.
1.10 +
1.11 +--- gcc-2.95.3/gcc/configure.old 2004-03-24 12:17:44.000000000 -0800
1.12 ++++ gcc-2.95.3/gcc/configure 2004-03-24 12:19:30.000000000 -0800
1.13 +@@ -2929,6 +2929,9 @@
1.14 + i[34567]86-*-*)
1.15 + cpu_type=i386
1.16 + ;;
1.17 ++ x86_64-*-*)
1.18 ++ cpu_type=i386
1.19 ++ ;;
1.20 + hppa*-*-*)
1.21 + cpu_type=pa
1.22 + ;;
1.23 +@@ -3643,6 +3646,19 @@
1.24 + thread_file='posix'
1.25 + fi
1.26 + ;;
1.27 ++ x86_64-*-linux*)
1.28 ++ xmake_file=x-linux
1.29 ++ tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
1.30 ++ i386/linux64.h"
1.31 ++ tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
1.32 ++ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1.33 ++ gnu_ld=yes
1.34 ++ float_format=i386
1.35 ++ if test x$enable_threads = xyes; then
1.36 ++ thread_file='posix'
1.37 ++ fi
1.38 ++ ;;
1.39 ++
1.40 + i[34567]86-*-gnu*)
1.41 + float_format=i386
1.42 + ;;