lkml.org 
[lkml]   [1999]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: More linker magic..
Date
Speaking of compilers, may I ask a quick question here?  Personally,
I use the Red Hat distro. I've noticed in 6.0 gcc has been replaced
with egcs. I've also found parameters in the egcs docs that allow
compiling with different Intel instruction sets, up through the
Pentium Pro. Would it not be benefical to take a moment and detect
whether the compiler is egcs or not and set appropriate -march and
-mcpu flags to make use of these instruction sets if the compiler
offers them? Last time I checked in the 2.2.10 source tree, -m486
was still being used for *ALL* intel processors above the 386. Why
would I want my kernel running with a 486 instruction set when I have
a Pentium Pro? It just makes sense to use the Pentium Pro
instruction set since the compiler DOES provide that. And perhaps
similar modifications can be made to support instruction sets for
other processors where applicable.

Am I totally out of line here?

Kevin

-----Original Message-----
From: Linus Torvalds [mailto:torvalds@transmeta.com]
Sent: Thursday, August 05, 1999 11:37 AM
To: Chris Wedgwood
Cc: linux-kernel@vger.rutgers.edu
Subject: Re: More linker magic..


On Thu, 5 Aug 1999, Chris Wedgwood wrote:
>
> OK, I've built gcc-2.95 and it now works. I don't see anything
> anywhere that says gcc-2.7.2.3 should no longer work, but for me it
> apparently doesn't.

2.7.3 is more picky about exactly where you put your attributes, and I
have it fixed now (so yes, 2.7.3 will be supported still, it's just that
I
hadn't been too careful..)

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.025 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site