public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [ANN] CFLAGS Builder
@ 2003-05-18  6:21 Robin H.Johnson
  2003-05-18 16:16 ` Alec Berryman
  0 siblings, 1 reply; 9+ messages in thread
From: Robin H.Johnson @ 2003-05-18  6:21 UTC (permalink / raw
  To: gentoo-dev, gentoo-user

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

Greetings,

Just a quick announcement about a new mini-project to write a little
application to work out the correct stable CFLAGS for your system from
/proc/cpuinfo and a few other sources of information.

Please visit this webpage and fill in the form.
http://gentoo.slinky.surrey.sfu.ca/cflagcollect/

For the moment, I am collecting some information so that the application
will work on ALL systems, including those with unusual configurations. 
For this to work, I would like everybody to go to the webpage, and fill
it in for all of your systems. There is a perl script on the page if you
want to automate the process more. You can run the script as
'./submit.pl EMAILADDRESS'.

If I get enough data, In a week or two I hope to have the initial
testing release of the CFLAGS builder available.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANN] CFLAGS Builder
@ 2003-05-19 11:13 Paul de Vrieze
  0 siblings, 0 replies; 9+ messages in thread
From: Paul de Vrieze @ 2003-05-19 11:13 UTC (permalink / raw
  To: gentoo-dev



David Nielsen said:
> The -mcpu flag is depricated in GCC 3.3 - and should not be used
anymore. So in all fairness it would be best not to record it's usage,
it might mislead some users.

The only depreciation I could find concerning mcpu is in the mips port,
where it might not me appropriate. For x86 architectures it is available
though and it also serves a needed option as it determines instruction
scheduling. The march option does not, the march option determines which
instructions are used. As scheduling for an architecture lower than the
instructions is pointless implying mcpu makes sense. It is perfectly legal
though to specify
CFLAGS="-march=pentium -mcpu=pentium4" This would create code that runs on
anything bigger than a pentium, but is optimally scheduled for the
pentium4 processor. Scheduling has become increasingly important with the
newer (pentium and further) processors as they have the ability to run
some (but not all) instructions paralel to eachother. A p4 though provides
more pipelines than a p1, so instructions need to be scheduled differently
to optimally use all pipelines.

Paul

-- 
Paul de Vrieze
Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net


-- 
Paul de Vrieze
Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net




--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2003-05-19 11:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-18  6:21 [gentoo-dev] [ANN] CFLAGS Builder Robin H.Johnson
2003-05-18 16:16 ` Alec Berryman
2003-05-18 23:18   ` Kevin Hayes
2003-05-19  8:13     ` Paul de Vrieze
2003-05-19 10:25       ` David Nielsen
2003-05-19 10:39         ` [gentoo-dev] New Ebuild: XOM (A Java XML Library) Ian Phillips
2003-05-19 11:06           ` Troy Dack
2003-05-19 11:20             ` Ian Phillips
  -- strict thread matches above, loose matches on Subject: below --
2003-05-19 11:13 [gentoo-dev] [ANN] CFLAGS Builder Paul de Vrieze

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