mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
1906cf93f8
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
# Taken from http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?r1=1.91&r2=1.92
|
|
# Should fix error
|
|
# Configuration x86_64-host_unknown-linux-gnu not supported
|
|
# when configuring gcc-2.95 on x86_64 build for i686 target
|
|
# It's a bit silly, since tm_file refers to files that don't exist,
|
|
# but as long as x86_64 is just the build machine, that doesn't matter.
|
|
|
|
--- gcc-2.95.3/gcc/configure.old 2004-03-24 12:17:44.000000000 -0800
|
|
+++ gcc-2.95.3/gcc/configure 2004-03-24 12:19:30.000000000 -0800
|
|
@@ -2929,6 +2929,9 @@
|
|
i[34567]86-*-*)
|
|
cpu_type=i386
|
|
;;
|
|
+ x86_64-*-*)
|
|
+ cpu_type=i386
|
|
+ ;;
|
|
hppa*-*-*)
|
|
cpu_type=pa
|
|
;;
|
|
@@ -3643,6 +3646,19 @@
|
|
thread_file='posix'
|
|
fi
|
|
;;
|
|
+ x86_64-*-linux*)
|
|
+ xmake_file=x-linux
|
|
+ tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
|
|
+ i386/linux64.h"
|
|
+ tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
|
+ gnu_ld=yes
|
|
+ float_format=i386
|
|
+ if test x$enable_threads = xyes; then
|
|
+ thread_file='posix'
|
|
+ fi
|
|
+ ;;
|
|
+
|
|
i[34567]86-*-gnu*)
|
|
float_format=i386
|
|
;;
|