Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Volker Armin Hemmann <volker.armin.hemmann@...>
Subject: Re: cpu flags / USE flags / compiler flags
Date: Wed, 31 Aug 2005 20:44:05 +0200
On Wednesday 31 August 2005 19:21, Mark Knecht wrote:
> On 8/31/05, Volker Armin Hemmann <volker.armin.hemmann@...> 
wrote:
> > Hi,
> >
> > before you panic, have you tried the firefox-bin packet with the same
> > site?
> >
> > Maybe nspluginviewer is the culprit? I had to kill it so many times I
> > can't remember.
>
> Thanks Volker. I'll give it a try.
>
> I'm still interested in the right way to really set up these flags
> though. I was looking at some of the online docs and found stuff like
> this in some emails:
>
> "I'm compiling currently with -mfpmath=387 -msse -mcpu=pentium3
> -march=pentium3 and gcc 3.1.1-4 from the very latest experimental
> cygwin distribution."
>
> Obviously I'm not intested in cygwin, etc., but when I saw -msse it
> made me wonder if I was supposed to change my CFLAGS line from
>
> CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
>
> to
>
> CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mmx -msse -msse2"
>
> I understand that the USE flags control what options are built into a
> pachage, but in the case of CPU flags do they also control the
> compiler flags that are used to build the package? Not being a
> programmer this is one part I'm confused about.
>

AFAIK the CFLAGS ONLY control the optimiziation, while the USEFLAGS only 
control the configuration - if somebody built in some optimiziation for 
mmx/sse, fine, this would be 'activated' by the useflags, not the cflags. 

hm, about your CFLAGs, I suppose, -march=pentium4 already sets them (mmx/sse), 
but this is something easily found in man gcc ;)
-- 
gentoo-user@g.o mailing list


Replies:
Re: cpu flags / USE flags / compiler flags
-- capsel
References:
cpu flags / USE flags / compiler flags
-- Mark Knecht
Re: cpu flags / USE flags / compiler flags
-- Volker Armin Hemmann
Re: cpu flags / USE flags / compiler flags
-- Mark Knecht
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: cpu flags / USE flags / compiler flags
Next by thread:
Re: cpu flags / USE flags / compiler flags
Previous by date:
Re: What is HIGHPTE option in kernel?
Next by date:
Re: cpu flags / USE flags / compiler flags


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.