Ronald,

> Yesterday I tried out the i686 LiveCD for my laptop with a K6 processor.
>
> First of all, I am a bit confused on whether or not the K6 will run i686 correctly.
Some sources on the internet say yes, others no.
> However, the LiveCD boots fine, so I thought all was OK.

Like you, I'm currently in the process of installing Gentoo on a K6-2/500 box.  You
definitely want CHOST set for an i586 in make.conf.  I found, with the help of some 
kind
folks on this list, that you probably ought to use -mcpu=k6 instead of -march=k6.  I
kept getting all kinds of compilation errors using -march, fwiw.

I actually have two lines in make.conf -- one of them commented out.  There are some
packages that don't compile with -mcpu=k6.  The second line has the same options, but
sets -mcpu=i586.  When the compilation fails, I comment out the k6 line, and enable the
i586 line.  Once I recompile the package that failed, I change it back.  It seems to
work for me.

I believe the options (I'm at work currently) are set to: -O3 -mcpu=k6-2
-fomit-frame-pointers -pipe.

I started with a stage 2 install, and have completed the kernel and X installations, 
and
am currently installing kde.  Sometime in the next millenium, I may be through....

>
> However after installing stage3 and the prebuild backages, I did
>
> $ chroot /mnt/gentoo /bin/bash
>
> and I got an "Illegal instruction".
> So, apparently my K6 processor has problems with i686 anyway.

I was having problems getting the kernel options set.  In the process of getting them
correct, I used the configuration from the live cd (/proc/config).  The processor
setting was for an i386, presumably to ensure compatibility across the board.

HTH,

Bob

-- 
A millihelen is the amount of beauty required to launch one ship.




--
[EMAIL PROTECTED] mailing list

Reply via email to