Lines 1-6
Link Here
|
1 |
--- config.c.orig Mon Jun 17 09:37:24 2002 |
1 |
--- config.c.orig Mon Jun 17 10:37:24 2002 |
2 |
+++ config.c Mon Jul 15 18:39:46 2002 |
2 |
+++ config.c Sun Aug 18 03:11:24 2002 |
3 |
@@ -2049,12 +2049,14 @@ |
3 |
@@ -692,7 +692,7 @@ |
|
|
4 |
else if (mach == IA64Itan || MachIsUS(mach) || |
5 |
mach == Dec21164 || mach == Dec21264) |
6 |
{ |
7 |
- if (major == 3) |
8 |
+ if ((major == 2 && minor < 96) || (major == 3)) /* Nasty hack for FreeBSD/Alpha STABLE */ |
9 |
{ |
10 |
strcpy(goodgcc, files[i]); |
11 |
return(0); |
12 |
@@ -2040,7 +2040,10 @@ |
13 |
if (!CmndOneLine(targ, "sysctl hw.model", ln)) |
14 |
{ |
15 |
if (strstr(ln, "433au")) mach = Dec21164; |
16 |
+ else if (strstr(ln, "500au")) mach = Dec21164; |
17 |
+ else if (strstr(ln, "AlphaPC 164")) mach = Dec21164; |
18 |
else if (strstr(ln, "XP1000")) mach = Dec21264; |
19 |
+ else mach = Dec21264; |
20 |
} |
21 |
break; |
22 |
case LAIA64: /* don't know */ |
23 |
@@ -2049,12 +2052,14 @@ |
4 |
if (!CmndOneLine(targ, "sysctl hw.model", ln)) |
24 |
if (!CmndOneLine(targ, "sysctl hw.model", ln)) |
5 |
{ |
25 |
{ |
6 |
if (strstr(ln, "Pentium Pro")) mach = IntPPRO; |
26 |
if (strstr(ln, "Pentium Pro")) mach = IntPPRO; |
Lines 10-21
Link Here
|
10 |
else if (strstr(ln, "Athlon")) mach = AmdAthlon; |
30 |
else if (strstr(ln, "Athlon")) mach = AmdAthlon; |
11 |
else if (strstr(ln, "AMD-K7")) mach = AmdAthlon; |
31 |
else if (strstr(ln, "AMD-K7")) mach = AmdAthlon; |
12 |
else if (strstr(ln, "Pentium/P55C")) mach = IntP5MMX; /* sent by */ |
32 |
else if (strstr(ln, "Pentium/P55C")) mach = IntP5MMX; /* sent by */ |
13 |
else if (strstr(ln, "Pentium")) mach=IntP5; /* Nakata Maho */ |
33 |
- else if (strstr(ln, "Pentium")) mach=IntP5; /* Nakata Maho */ |
14 |
+ else mach=IntP5; |
34 |
+ else if (strstr(ln, "Pentium")) mach = IntP5; /* Nakata Maho */ |
|
|
35 |
+ else mach = IntP5; |
15 |
} |
36 |
} |
16 |
break; |
37 |
break; |
17 |
default:; |
38 |
default:; |
18 |
@@ -3024,6 +3026,9 @@ |
39 |
@@ -3024,6 +3029,9 @@ |
19 |
} |
40 |
} |
20 |
if (USEWINF77) strcpy(F77, "$(BINdir)/winf77.exe"); |
41 |
if (USEWINF77) strcpy(F77, "$(BINdir)/winf77.exe"); |
21 |
|
42 |
|