summaryrefslogtreecommitdiff
path: root/devel/gcc-6811/files/patch-ab
blob: 93fdb61fcb2c439d4ffd5fef7aa5aea021d50986 (plain) (blame)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
*** gcc-2.6.3/Makefile.in~	Fri Sep  1 11:18:23 1995
--- gcc-2.6.3/Makefile.in	Fri Sep  1 11:18:33 1995
***************
*** 34,40 ****
  
  # Selection of languages to be made.
  # This is overridden by configure.
! LANGUAGES = c objective-c proto
  
  ALLOCA =
  ALLOCA_FLAGS =
--- 34,40 ----
  
  # Selection of languages to be made.
  # This is overridden by configure.
! LANGUAGES = c
  
  ALLOCA =
  ALLOCA_FLAGS =
***************
*** 319,325 ****
  HOST_OBSTACK=$(OBSTACK)
  
  # Choose the real default target.
! ALL=all.internal
  
  # Choose the real install target.
  INSTALL_TARGET=install-normal
--- 319,325 ----
  HOST_OBSTACK=$(OBSTACK)
  
  # Choose the real default target.
! ALL=all.cross
  
  # Choose the real install target.
  INSTALL_TARGET=install-normal
***************
*** 565,572 ****
  # This is what to compile if making a cross-compiler.
  # Note that we can compile enquire using the cross-compiler just built,
  # although we can't run it on this machine.
! all.cross: native gcc-cross specs stmp-headers $(LIBGCC) $(STMP_FIXPROTO) \
! 	$(CROSS_TEST) $(ENQUIRE) $(EXTRA_PARTS) lang.all.cross
  # This is what to compile if making gcc with a cross-compiler.
  all.build: native xgcc $(EXTRA_PARTS) lang.all.build
  # This is what must be made before installing GCC and converting libraries.
--- 565,571 ----
  # This is what to compile if making a cross-compiler.
  # Note that we can compile enquire using the cross-compiler just built,
  # although we can't run it on this machine.
! all.cross: native gcc-cross specs stmp-headers
  # This is what to compile if making gcc with a cross-compiler.
  all.build: native xgcc $(EXTRA_PARTS) lang.all.build
  # This is what must be made before installing GCC and converting libraries.
***************
*** 692,698 ****
  # This rule deliberately does not depend on libgcc1.a
  # so that it will fail if the installer hasn't provided it.
  libgcc1.cross:
! 	mv libgcc1.a libgcc1.cross || (echo You must find a way to make libgcc1.a; false)
  
  # Compile the library of arithmetic subroutines with the native compiler.
  # Don't compile it with GCC!
--- 692,698 ----
  # This rule deliberately does not depend on libgcc1.a
  # so that it will fail if the installer hasn't provided it.
  libgcc1.cross:
! 	echo $@ is not implemented yet; exit 99
  
  # Compile the library of arithmetic subroutines with the native compiler.
  # Don't compile it with GCC!
***************
*** 1870,1877 ****
  install: $(INSTALL_TARGET) ; @true
  
  # Copy the compiler files into directories where they will be run.
! install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
!     install-man install-info lang.install-normal
  
  # Do nothing while making gcc with a cross-compiler. The person who
  # makes gcc for the target machine has to know how to put a complete
--- 1869,1875 ----
  install: $(INSTALL_TARGET) ; @true
  
  # Copy the compiler files into directories where they will be run.
! install-normal: install-common $(INSTALL_HEADERS) lang.install-normal
  
  # Do nothing while making gcc with a cross-compiler. The person who
  # makes gcc for the target machine has to know how to put a complete
*** gcc-2.6.3/cccp.c~	Fri Sep  1 10:42:15 1995
--- gcc-2.6.3/cccp.c	Fri Sep  1 10:42:31 1995
***************
*** 188,194 ****
  #ifndef VMS
  #ifndef HAVE_STRERROR
  extern int sys_nerr;
! #if defined(bsd4_4) || defined(__NetBSD__)
  extern const char *const sys_errlist[];
  #else
  extern char *sys_errlist[];
--- 188,194 ----
  #ifndef VMS
  #ifndef HAVE_STRERROR
  extern int sys_nerr;
! #if defined(bsd4_4) || defined(__NetBSD__) || defined(__FreeBSD__)
  extern const char *const sys_errlist[];
  #else
  extern char *sys_errlist[];
*** gcc-2.6.3/gcc.c~	Fri Sep  1 10:57:20 1995
--- gcc-2.6.3/gcc.c	Fri Sep  1 10:57:36 1995
***************
*** 166,172 ****
  #endif
  
  extern int sys_nerr;
! #if defined(bsd4_4) || defined(__NetBSD__)
  extern const char *const sys_errlist[];
  #else
  extern char *sys_errlist[];
--- 166,172 ----
  #endif
  
  extern int sys_nerr;
! #if defined(bsd4_4) || defined(__NetBSD__) || defined(__FreeBSD__)
  extern const char *const sys_errlist[];
  #else
  extern char *sys_errlist[];