public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] compiling gentoo on P4 for a PII
@ 2006-10-12 17:34 Selso DaSilva
  2006-10-12 18:37 ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 2+ messages in thread
From: Selso DaSilva @ 2006-10-12 17:34 UTC (permalink / raw
  To: gentoo-user

Hi I m with a non-profit organization call Community Free Software
Group, Inc. (CFSG)
http://cfsg.org .  Debian is currently our distro of choice. I was
playing around with
installing gentoo, when I started to ponder. Our organization get a
lot of PII and some PIII donated to us.  Is their a way to have gentoo
installed on a P4 but compiling for the PII/PIII. Then remove the HD
from the P4 and place it in the PII/PIII system.

What would be a way to accomplish this?

Thanks
Selso
Community Free Software Group, Inc
New York
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] compiling gentoo on P4 for a PII
  2006-10-12 17:34 [gentoo-user] compiling gentoo on P4 for a PII Selso DaSilva
@ 2006-10-12 18:37 ` Boyd Stephen Smith Jr.
  0 siblings, 0 replies; 2+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-10-12 18:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

On Thursday 12 October 2006 12:34, "Selso DaSilva" <selsok@gmail.com> wrote 
about '[gentoo-user] compiling gentoo on P4 for a PII':
> Is their a way to have gentoo
> installed on a P4 but compiling for the PII/PIII?

The -march= value in your CFLAGS (on the machine building the image / 
packages / binaries ) should be the lowest common denominator for any CPU 
that will run the compiled binaries / install the built packages / receive 
the imaged HD.  While the code generated under -march=pentium-4 might run 
on a PII, it's not guaranteed.  Of course, CHOST should also be set to the 
common denominator but everything Intel above and including the PII is 
686.

You can use a -mtune= value in your CFLAGS to optimize intruction 
scheduling for a particular processor, generally the most common in 
your "fleet".  The code generated under -mtune=pentium-4 will run on a 
PII.  -mtune may make scheduling decisions that adversely affect 
performance on processors other than the one specified to improve 
performance on the chosen processor.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-12 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 17:34 [gentoo-user] compiling gentoo on P4 for a PII Selso DaSilva
2006-10-12 18:37 ` Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox