[gentoo-user] -fomit-frame-pointer switch

2008-05-01 Thread James
Hello,

On an amd64, If I want to add -fomit-frame-pointer to a system's
CFLAGS setting, I can just add it and eventually all of the
executables will be recompile (willing to wait)
or do I have to rebuild system (all packages) or such to switch?


James

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] -fomit-frame-pointer switch

2008-05-01 Thread Wolf Canis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

James wrote:
| Hello,
|
| On an amd64, If I want to add -fomit-frame-pointer to a system's
| CFLAGS setting, I can just add it and eventually all of the
| executables will be recompile (willing to wait)
| or do I have to rebuild system (all packages) or such to switch?

Hello James,
you have to rebuild the entire system, if the new CFLAGS settings shall
have effect.

# emerge --emptytree system  emerge --emptytree world

That's the recommend procedure, according to the handbook, to do that.
But there are in the forums a big thread whether that is necessary or not.
Some argue - is not, it's sufficient to rebuild the toolchain and than
emerge -e world. Others say one should follow the recommend procedure.
I follow the recommend procedure.

Hope that helps.

W. Canis

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgZ9lwACgkQKT9zBKF0twU8hgCgmSyN7hTtp+FWizv/yVZXaTyL
2u8An0QMe2QaJUsxymGNTPo8QuDN+MUy
=BHyv
-END PGP SIGNATURE-

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] -fomit-frame-pointer switch

2008-05-01 Thread Uwe Thiem
On Thursday 01 May 2008, James wrote:
 Hello,

 On an amd64, If I want to add -fomit-frame-pointer to a system's
 CFLAGS setting, I can just add it and eventually all of the
 executables will be recompile (willing to wait)
 or do I have to rebuild system (all packages) or such to switch?

No need to rebuild the whole system. One-by-one is fine. A lot of 
packages set it anyway.

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list