Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [gentoo-user] CFLAGS changes

From: Dale <dalek1967(at)bellsouth.net>
Date: Thu Feb 21 2008 - 09:43:50 EST


Dale wrote:
> James wrote:
>> Hello,
>>
>>
>> Current CFLAGS="-O2 -march=i686 -pipe"
>>
>>
>> I want to add "-fomit-frame-pointer" to my
>> CFLAGS on an existing system that has been running
>> for months.
>>
>>
>> Is this safe or do I have to rebuild everything with
>> somelike "emerge -e" ?
>>
>>
>> Should it be avoided completely?
>>
>> James
>>
>>
>
> Not sure if the flag is safe but I don't think portage will pick up on
> changes to CFLAGS. You will have to do a emerge -e for all the
> packages to be compiled with the new setting.
>
> You could also just change it and let the packages update over time as
> they get upgraded. I don't think that will cause any problems.
>
> You can also look here:
> http://www.gentoo.org/doc/en/gcc-optimization.xml Also note, there is
> a page somewhere that gives the best CFLAGs but I can't find it.
> Still looking tho.
>
> Dale
>
> :-) :-) :-)

I found it. This is not the "official" Gentoo site so use your own judgment or ask here before changing the settings.

http://gentoo-wiki.com/Safe_Cflags

Hope that helps.

Dale

:-) :-) :-)

-- 
gentoo-user@lists.gentoo.org mailing list
Received on Thu Feb 21 09:44:43 2008

This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 17:08:48 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library