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-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
  0 siblings, 1 reply; 9+ messages in thread
From: Alec Berryman @ 2003-05-18 16:16 UTC (permalink / raw
  To: Robin H.Johnson; +Cc: gentoo-dev, gentoo-user

Robin H.Johnson said:
> 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.


This (http://forums.gentoo.org/viewtopic.php?t=53602) was posted in the
Gentoo forums a few days ago.  Might help you out - works great for me.

- Alec Berryman


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] [ANN] CFLAGS Builder
  2003-05-18 16:16 ` Alec Berryman
@ 2003-05-18 23:18   ` Kevin Hayes
  2003-05-19  8:13     ` Paul de Vrieze
  0 siblings, 1 reply; 9+ messages in thread
From: Kevin Hayes @ 2003-05-18 23:18 UTC (permalink / raw
  To: gentoo-dev

On Sun, 18 May 2003 11:16:34 -0500 (CDT)
"Alec Berryman" <alec@lorax.wox.org> wrote:

> Robin H.Johnson said:
> > 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.
> 
> 
> This (http://forums.gentoo.org/viewtopic.php?t=53602) was posted in the
> Gentoo forums a few days ago.  Might help you out - works great for me.
> 
> - Alec Berryman

Excellent idea, but unfortunately it doesn't seem to detect dual athlons on this m/c correctly.

Output is :
~ $ ./wflags 
 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow

 Info in /proc/cpuinfo is correct.
eg model name      : AMD Athlon(TM) MP 1800+   


--
Kevin Hayes

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] [ANN] CFLAGS Builder
  2003-05-18 23:18   ` Kevin Hayes
@ 2003-05-19  8:13     ` Paul de Vrieze
  2003-05-19 10:25       ` David Nielsen
  0 siblings, 1 reply; 9+ messages in thread
From: Paul de Vrieze @ 2003-05-19  8:13 UTC (permalink / raw
  To: gentoo-dev


Kevin Hayes said:
>
> Output is :
> ~ $ ./wflags
>  -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow
>
>  Info in /proc/cpuinfo is correct.
> eg model name      : AMD Athlon(TM) MP 1800+
>

I see that this application also does not include the -mcpu flag. I know
that -march implies the -mcpu flag. Some ebuilds however filter the -march
flag for gcc bugs. For those ebuilds the -mcpu flag still provides the
wanted scheduling

Paul

-- 
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

* Re: [gentoo-dev] [ANN] CFLAGS Builder
  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
  0 siblings, 1 reply; 9+ messages in thread
From: David Nielsen @ 2003-05-19 10:25 UTC (permalink / raw
  To: gentoo-dev

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.

Regards,

On Mon, 2003-05-19 at 10:13, Paul de Vrieze wrote:
> Kevin Hayes said:
> >
> > Output is :
> > ~ $ ./wflags
> >  -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow
> >
> >  Info in /proc/cpuinfo is correct.
> > eg model name      : AMD Athlon(TM) MP 1800+
> >
> 
> I see that this application also does not include the -mcpu flag. I know
> that -march implies the -mcpu flag. Some ebuilds however filter the -march
> flag for gcc bugs. For those ebuilds the -mcpu flag still provides the
> wanted scheduling
> 
> Paul


--
gentoo-dev@gentoo.org mailing list


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

* [gentoo-dev] New Ebuild: XOM (A Java XML Library)
  2003-05-19 10:25       ` David Nielsen
@ 2003-05-19 10:39         ` Ian Phillips
  2003-05-19 11:06           ` Troy Dack
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Phillips @ 2003-05-19 10:39 UTC (permalink / raw
  To: gentoo-dev

>From the XOM website:

"XOM is a new XML object model. It is an open source (LGPL), tree-based
API for processing XML with Java that strives for correctness and
simplicity."

Now a question: is this the correct place to do send stuff like this? If
not, apologies, I couldn't see an appropriate category in Bugzilla
though.

Cheers,
Ian.

-- 
#ifndef  __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | TIBCO Software Inc.
#endif                    | www.tibco.com




--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] New Ebuild: XOM (A Java XML Library)
  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
  0 siblings, 1 reply; 9+ messages in thread
From: Troy Dack @ 2003-05-19 11:06 UTC (permalink / raw
  To: gentoo-dev

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

On Mon, 2003-05-19 at 20:39, Ian Phillips wrote:
> >From the XOM website:
> 
> "XOM is a new XML object model. It is an open source (LGPL), tree-based
> API for processing XML with Java that strives for correctness and
> simplicity."
> 
> Now a question: is this the correct place to do send stuff like this? If
> not, apologies, I couldn't see an appropriate category in Bugzilla
> though.

Bugzilla would be the correct place.

Create a new bug (search first!)

Product: Gentoo Linux
Component: Ebuilds
Severity: Enhancement

Preferably include an ebuild as well

-- 
Troy Dack        "Yes, yes, I know that, Sydney ... Everybody knows that!
tad@gentoo.org    ... But look: Four wrongs squared, minus two wrongs to 
                  the fourth power, divided by this formula, do make a
                  right." -- Gary Larson

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D90BE3C
Key fingerprint = 1F3D 6C15 16AA 09D5 0C96  92E5 FD89 16F9 4D90 BE3C
 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 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

* Re: [gentoo-dev] New Ebuild: XOM (A Java XML Library)
  2003-05-19 11:06           ` Troy Dack
@ 2003-05-19 11:20             ` Ian Phillips
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Phillips @ 2003-05-19 11:20 UTC (permalink / raw
  To: Troy Dack; +Cc: gentoo-dev

It's in as bug #21242.

> Preferably include an ebuild as well

Doh! (Forgot to add attachment to email.

Ian.

-- 
#ifndef  __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | TIBCO Software Inc.
#endif                    | www.tibco.com




--
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