Re: [PATCH] Using '-mpentium' or '-mpentiumpro' with the new compilers.

Niels Kristian Bech Jensen (
Thu, 14 May 1998 22:38:38 +0200 (CEST)

On Thu, 14 May 1998, Meelis Roos wrote:

> NKBJ> This small patch detects if you use a compiler that supports the
> NKBJ> '-mpentium' and '-mpentiumpro' compiler flags and use the relevant flag
> [...]
> NKBJ> +ifeq ($(CC_MAJOR_VERSION),2.7)
> Does this work with egcs too? What does egc report as its version?
> And _maybe_ you would also want to use the arch flags (if it seems that
> they do work)?
Yes, it work with egcs (CC_MAJOR_VERSION = egc). I have thought about
using the arch flags, and I'll test it on my 486 system (please let me
know how it work if you test it on your system.)

Med venlig hilsen / Best regards
Niels Kristian Bech Jensen             

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to