Oops, crud I posted HTML accidentally I think, damn windows client. Anyway,
a K6-2 is a i586, you'll need to fix your CHOST. On a K6-2 that I have, I
use:
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -pipe "
CXXFLAGS="${CFLAGS}"
I ran into the same illegal instruction problem until I noticed in the
cpuinfo that the family is '5' hence a 586. :)
Todd
----- Original Message -----
From: Jeremy Schneider
To: [EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 12:17 AM
Subject: Re: [gentoo-user] newbie question not in the faq: what package
supplies the <foo> command
Thanks very much for your suggestions. I suppose that's possible -- I
haven't found a reference that maps the output from /etc/cpuinfo to the
suggested CHOST and CFLAGS, and I feel kind of unclear on that. I don't
really know how names of processors, like "athlon", "celeron", "pentium",
etc., correspond to the possible values for CHOST/CFLAGS. Is there a
definitive reference? Speaking of that, why not just have there be an
option for Gentoo to read /proc/cpuinfo and choose a reasonable CFLAGS value
for it?
My last attempt failed the same way, after changing CFLAGS to
"-march-k6-2 -pipe ". Will I have to recompile everything with different
CFLAGS and/or CHOST values?
Currently, from /etc/make.conf
USE="X gtk gnome -alsa"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k6-2 -pipe "
CXXFLAGS="${CFLAGS}"
RSYNC_RETRIES="3"
dana etc # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 500.025
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp ! : yes
flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow
k6_mtrr
bogomips : 996.14
dana etc #
>From: Stijn Vander Maelen
>CC: [EMAIL PROTECTED]
>Subject: Re: [gentoo-user] newbie question not in the faq: what package
supplies the command
>Date: Tue, 4 Mar 2003 05:38:25 +0100 (CET)
>
>
>
>
>On Tue, 4 Mar 2003, Jonathan Morton wrote:
>
> > >/usr/X11R6/bin/xmkmf: line 70: 30112 Illegal instruction imake
> >
> > Looks like you built using over-aggressive CFLAGS.
>
>or a cpu type that's not equal to what's in your computer
>
>regards,
>stijn
>
> >
> > --
> > --------------------------------------------------------------
> > from: Jonathan "Chromatix" Morton
> > mail: [EMAIL PROTECTED]
> > website: http://www.chromatix.uklinux.net/
> > tagline: The key to knowledge is not to rely on people to teach you it.
> >
> > --
> > [EMAIL PROTECTED] mailing list
> >
> >
>
>--
>[EMAIL PROTECTED] mailing list
Add photos to your e-mail with MSN 8. Get 2 months FREE*. --
[EMAIL PROTECTED] mailing list
--
[EMAIL PROTECTED] mailing list