public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "M. R. Brown" <mrbrown@0xd6.org>
To: nbecker@fred.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: Why no -march=athlon?
Date: Mon, 17 Dec 2001 11:40:20 -0600	[thread overview]
Message-ID: <20011217174020.GA24772@0xd6.org> (raw)
In-Reply-To: <x88r8ptki37.fsf@rpppc1.hns.com>
In-Reply-To: <x88r8ptki37.fsf@rpppc1.hns.com>

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

* nbecker@fred.net <nbecker@fred.net> on Mon, Dec 17, 2001:

> I noticed that linux/arch/i386/Makefile says:
> 
> ifdef CONFIG_MK7
> CFLAGS += -march=i686 -malign-functions=4 
> endif
> 
> 
> Why not -march=athlon?  Is this just for compatibility with old gcc?

The recommend kernel compiler is gcc 2.95.x, which doesn't support
"-march=athlon".

> If so, can't we fix it with an ifdef?

Can you fix it?  You'd have to parse the output of `gcc -v`, I think
kbuild 2.5 does this, so start there first.

M. R.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2001-12-17 17:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-17 14:59 Why no -march=athlon? nbecker
2001-12-17 15:54 ` Dominik Mierzejewski
2001-12-17 17:40 ` M. R. Brown [this message]
2001-12-19 17:46   ` On K7, -march=k6 is good (Was Re: Why no -march=athlon?) Benoit Poulot-Cazajous
2001-12-19 17:56     ` M. R. Brown
2001-12-19 18:39       ` nbecker
2001-12-19 18:47         ` M. R. Brown
2001-12-19 18:52           ` J Sloan
2001-12-19 19:01             ` Josh McKinney
2001-12-19 19:21             ` M. R. Brown
2001-12-19 19:28               ` J Sloan
2001-12-19 19:38         ` Allan Sandfeld
2001-12-19 21:40       ` Benoit Poulot-Cazajous

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011217174020.GA24772@0xd6.org \
    --to=mrbrown@0xd6.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nbecker@fred.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox