This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux kernel patch


| On Wed, Nov 26, 1997 at 12:18:54PM -0500, Michael Meissner wrote:
| > + Compiler supports -mcpu=pentiumpro and -march=pentiumpro
| > + CONFIG_GCC_PENTIUMPRO
| > +   This enables support to use the -mcpu=pentiumpro and -march=pentiumpro
| > +   switches that are available on newer GCC compilers.  If you use this
| > +   switch, then your kernel will not run on a Pentium, 486, or 386
| > +   processor.
| 
| Better to simply have the makefile detect if these options are 
| available.  It is already the case that if you configure for 586
| that you cannot run the kernel on a 386.

No, you don't want to do that implicitly, since I just found out that my kernel
hung after about 10 minutes when compiled with -march=pentiumpro :-(.  It seems
to work fine, if I don't enable conditional moves.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]