]>
Commit | Line | Data |
---|---|---|
1 | # DP: set the default architecture to i386; even if gcc is configured | |
2 | # DP: with i386-linux, it builds with Pentium instructions, tuned for i386. | |
3 | ||
4 | From: Joel Klecker <jk@espy.org> | |
5 | To: Matthias Klose <doko@cs.tu-berlin.de> | |
6 | Subject: Re: gcc: forwarded message from Markus F.X.J. Oberhumer | |
7 | Date: Wed, 11 Aug 1999 08:48:54 -0700 | |
8 | ||
9 | Found it, and fixed it. | |
10 | ||
11 | --- gcc/config/i386/i386.c~ Sat Aug 14 19:35:24 1999 | |
12 | +++ gcc/config/i386/i386.c Sat Aug 14 19:37:00 1999 | |
13 | @@ -291,7 +291,7 @@ | |
14 | ||
15 | if (ix86_arch_string == 0) | |
16 | { | |
17 | - ix86_arch_string = PROCESSOR_PENTIUM_STRING; | |
18 | + ix86_arch_string = PROCESSOR_DEFAULT_STRING; | |
19 | if (ix86_cpu_string == 0) | |
20 | ix86_cpu_string = PROCESSOR_DEFAULT_STRING; | |
21 | } | |
22 | @@ -308,7 +308,7 @@ | |
23 | if (i == ptt_size) | |
24 | { | |
25 | error ("bad value (%s) for -march= switch", ix86_arch_string); | |
26 | - ix86_arch_string = PROCESSOR_PENTIUM_STRING; | |
27 | + ix86_arch_string = PROCESSOR_DEFAULT_STRING; | |
28 | ix86_arch = PROCESSOR_DEFAULT; | |
29 | } | |
30 |