Athlon

ghovs ghovs at plex.nl
Mon Jul 16 04:52:44 PDT 2001


On Monday 16 July 2001 12:47, Nicolas Nieswandt wrote:
> > Hi!
> >
> > I have decided to try to install a LFS-system on my Athlon 900. Now I
>
> wonder if
>
> > there is any Athlon-How-to  or  other document about how to get optimized
>
> code
>
> > for the Athlon?
> >
> > I have noticed that the system gets identified as a
>
> i686-pc-linux-gnu -system.
>
> > Does this mean that it doesn't know it's a Athlon? Somewhere I've seen
>
> that it
>
> > should say k7-athlon-linux-gnu instead. I might be wrong, though. uname
>
> gives me
>
> > a "i686 - unknown".
>
> On this list was once a hint to change the uname output to something like
> k7-athlon-linux-gnu-lfs. Sorry, I don't know when and where. (about 9-12
> month)
>
> > I have realized that I will need the gcc-3.0 to be able to optimize for
>
> Athlon
>
> > but that I should install glibc with 2.95.x first. Anything else I need
> > to
>
> know?
>
> > www.athlonlinux.org seems to be down since quite some time, otherwise I
>
> guess I
>
> > could find some info there.
>
> I don't know if the "athlon" option in gcc-3.0 is just a link to "i686" or
> not.
>
> But if you want to compile with 2.95.x there is a patch from the pentium
> compiler
> group at http://www.goof.com/pcg/. They did some optimations for newer
> Pentium and
> Athlon/K6-2/K6-3 which worked just fine.
>
> All other info's you might need are in the optimization2-hint in LFS-hint
> section.
>
> Good compile,
> Nico

I also hear that GCC 3.1 includes some athlon-specific stuff, making 
-march=athlon actually do something. In time, it'll be fully supported in a 
stable version of GCC, they're working on it.


rgds,
Peter de Freitas
-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the lfs-dev mailing list