$HOSTTYPE and related topics.

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Mon Jan 12 17:09:31 UTC 2004


Am Mo, den 12.01.2004 schrieb Matt um 08:34:
> Hi folks
> 
> Just a couple trivial queries here. I have an AMD Athlon Thunderbird CPU
> and my $HOSTTYPE is currently "i386". I thought it would have been
> either "i686" or maybe even "athlon"? I realise the machine architecture
> is an i386 compatible but I thought the exact architecture would have
> been more appropriate. `arch` correctly reports "i686". 
> Related is the $MACHTYPE. It's set to "i386-redhat-linux-gnu". Again,
> should this not contain i686? Also, are there plans to change this to
> fedora? i.e. "i686-fedora-linux-gnu". 
> Lastly, is it safe to change these values myself? Or do certain apps
> rely on them being the values originally set? 
> 
> TIA
> -- 
> Matt 

What you see on you Athlon system is the situation and ok. Fedora Core 1
is still i386 based, only glibc may vary like on your's which is i686,
and the kernel is CPU dependent compiled. You see last by using "uname
-a".

What do you expect by having a i686 based architecture compile? You
might only gain just a few percentages of speed, if though.

As far as I see at the rpm macros, Fedora is using prelinking, which
normally brings you most performance gains using different applications.

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653





More information about the fedora-list mailing list