Re: [gentoo-user] make.conf ambiguity - i486 or i686

2003-12-06 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 06 December 2003 06:18, Jason Stubbs wrote:

 -march=pentium4 should work fine now with both arch and ~arch versions
 of gcc.

 Jason

Excellent, cheers!

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/0dQDInuLMrk7bIwRAj/pAKCFfDmfOpazRK0SzWzvsMckrcgN5gCfcY5y
EUwFxs8ohjV2S/XVZmrm/bw=
=blGE
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



[gentoo-user] make.conf ambiguity - i486 or i686

2003-12-05 Thread Jason Newquist
I am in the middle of re-attempting an installation after my first
two attempts froze.  I have just completed an emerge sync, and I'm
giving the /etc/make.conf file a once-over before I go.

Question.  Apologies if this is a FAQ.  Google doesn't provide a
clear answer...

In the CHOST section at the top, my default value (before entering
stage 1) is i486-pc-linux-gnu.  In reading the comments, it says
to leave this alone for a Pentium Pro or higher processor.  My P4
is indeed = PPro.  However, then it says that any modern machine
should use i686.

Later on, in CFLAGS, the file has an -mCPU=i686 declaration.

So which is it?  Should I leave it at i486 and proceed with stage1,
or change it to i686?  Should I leave it alone for stage1, then go
back and change it for stage2?

Jason Newquist
San Francisco Bay Area


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] make.conf ambiguity - i486 or i686

2003-12-05 Thread Lincoln A. Baxter
On Fri, 2003-12-05 at 17:23, Jason Newquist wrote:
 In the CHOST section at the top, my default value (before entering
 stage 1) is i486-pc-linux-gnu.  In reading the comments, it says
 to leave this alone for a Pentium Pro or higher processor.  My P4
 is indeed = PPro.  However, then it says that any modern machine
 should use i686.

A 486 is NOT a modern machine in this context.
 
 Later on, in CFLAGS, the file has an -mCPU=i686 declaration.

I have a PPro... (586-200mHX) as my gentoo firewall. I use:

CHOST=i586-pc-linux-gnu
CFLAGS=-mcpu=i586 -O2 -pipe
CXXFLAGS=${CFLAGS}

If you have a 486, I believe you are a pentium (NOT a pentium pro). I
would change all the i586's above to i486s.

You definitely do NOT want to compile with -mcpu=i686

It will generate code that will not work.  I think that is true for
-mcpu=i586 as well... but I may be wrong.  Play it safe, though.




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] make.conf ambiguity - i486 or i686

2003-12-05 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 05 December 2003 22:23, Jason Newquist wrote:
 I am in the middle of re-attempting an installation after my first
 two attempts froze.  I have just completed an emerge sync, and I'm
 giving the /etc/make.conf file a once-over before I go.

 Question.  Apologies if this is a FAQ.  Google doesn't provide a
 clear answer...

 In the CHOST section at the top, my default value (before entering
 stage 1) is i486-pc-linux-gnu.  In reading the comments, it says
 to leave this alone for a Pentium Pro or higher processor.  My P4
 is indeed = PPro.  However, then it says that any modern machine
 should use i686.

 Later on, in CFLAGS, the file has an -mCPU=i686 declaration.

 So which is it?  Should I leave it at i486 and proceed with stage1,
 or change it to i686?  Should I leave it alone for stage1, then go
 back and change it for stage2?

Set them properly first.
My P4 uses:
CHOST=i686-pc-linux-gnu
CFLAGS=-Os -march=pentium3 -pipe # does pentium4 work right yet?
CXXFLAGS=${CFLAGS}

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/0QjYInuLMrk7bIwRAsenAJ9Xu6L3ZaQF5ETOSwjnXRvMqxZ6jgCePN8B
FpshBjzZIGB2mr7bi3Dt658=
=M/PY
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] make.conf ambiguity - i486 or i686

2003-12-05 Thread Jason Stubbs


-Original Message-
From: Mike Williams [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 06, 2003 7:38 AM

On Friday 05 December 2003 22:23, Jason Newquist wrote:
 I am in the middle of re-attempting an installation after my first two

 attempts froze.  I have just completed an emerge sync, and I'm 
 giving the /etc/make.conf file a once-over before I go.

 Question.  Apologies if this is a FAQ.  Google doesn't provide a clear

 answer...

 In the CHOST section at the top, my default value (before entering 
 stage 1) is i486-pc-linux-gnu.  In reading the comments, it says to 
 leave this alone for a Pentium Pro or higher processor.  My P4 is 
 indeed = PPro.  However, then it says that any modern machine 
 should use i686.

 Later on, in CFLAGS, the file has an -mCPU=i686 declaration.

 So which is it?  Should I leave it at i486 and proceed with stage1, or

 change it to i686?  Should I leave it alone for stage1, then go back 
 and change it for stage2?

Set them properly first.
My P4 uses:
CHOST=i686-pc-linux-gnu
CFLAGS=-Os -march=pentium3 -pipe # does pentium4 work right yet?
CXXFLAGS=${CFLAGS}

- -- 
Mike Williams


-march=pentium4 should work fine now with both arch and ~arch versions
of gcc.

Jason


--
[EMAIL PROTECTED] mailing list