1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
$NetBSD: patch-co,v 1.1 2001/01/30 03:09:00 minoura Exp $
--- gcc/configure.in.pre-patch Tue Jan 16 21:47:25 2001
+++ gcc/configure.in
@@ -1156,9 +1156,34 @@
tmake_file=t-freebsd
;;
changequote(,)dnl
+ i[34567]86-*-netbsdelf* | \
+ i[34567]86-*-netbsd1.4[I-Z]* | \
+ i[34567]86-*-netbsd1.[5-9]* | \
+ i[34567]86-*-netbsd2*)
+changequote([,])dnl
+ tm_file=i386/netbsd-elf.h
+ xm_file=i386/xm-netbsd.h
+ tmake_file=t-netbsd
+ ;;
+changequote(,)dnl
+ i[34567]86-*-netbsdpe* )
+changequote([,])dnl
+ xm_file="${xm_file} i386/xm-cygwin.h"
+ tmake_file=i386/t-cygwin
+ tm_file=i386/netbsd-pe.h
+ xmake_file=i386/x-cygwin
+ extra_objs=winnt.o
+ fixincludes=Makefile.in
+ if [[ x$enable_threads = xyes ]]; then
+ thread_file='posix'
+ fi
+ exeext=.exe
+ ;;
+changequote(,)dnl
i[34567]86-*-netbsd*)
changequote([,])dnl
tm_file=i386/netbsd.h
+ xm_file=i386/xm-netbsd.h
tmake_file=t-netbsd
use_collect2=yes
;;
@@ -3021,6 +3046,12 @@
tmake_file=sparc/t-sparcbare
tm_file="sparc/aout.h libgloss.h"
;;
+ sparc-*-netbsd*elf*)
+ tm_file=sparc/netbsdelf.h
+ xm_file=sparc/xm-netbsd.h
+ tmake_file=t-netbsd
+ use_collect2=yes
+ ;;
sparc-*-netbsd*)
tm_file=sparc/netbsd.h
tmake_file=t-netbsd
@@ -3216,6 +3247,12 @@
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes
;;
+ sparc64-*-netbsd*)
+ tm_file=sparc/netbsd64.h
+ xm_file=sparc/xm-netbsd64.h
+ tmake_file=t-netbsd
+ use_collect2=yes
+ ;;
# This hasn't been upgraded to GCC 2.
# tahoe-harris-*) # Harris tahoe, using COFF.
# tm_file=tahoe/harris.h
@@ -3557,6 +3594,12 @@
esac
fi
+case $target in
+ alpha*|sparc64*)
+ build_xm_file="${build_xm_file} xm-target64.h"
+ host_xm_file="${host_xm_file} xm-target64.h";;
+esac
+
# Handle cpp installation.
if test x$enable_cpp != xno
then
|