View previous topic :: View next topic |
Author |
Message |
carlos123 Guru
Joined: 12 Feb 2003 Posts: 536 Location: Alberta, Canada.
|
Posted: Sun Mar 09, 2003 3:31 am Post subject: Clarification on notes in make.conf..?? |
|
|
In the make.conf file I find the following note:
Quote: |
#CFLAGS="-mcpu=athlon-xp -O3 -pipe"
#CFLAGS="-march=pentium3 -O3 -pipe"
# If you set a CFLAGS above, then this line will set your default C++ flags to
# the same settings. If you don't set CFLAGS above, then comment this line out.
CXXFLAGS="${CFLAGS}"
|
Why is the CXXFLAGS line NOT commented out? If according to the notes it should be? Are there any consequences to having compiled stuff WITHOUT having first commented it out?
Any clarification on this would be appreciated. I wonder if overall it would be more consistent to have the CXXFLAGS commented out by default given that the two CFLAGS lines are already.
Thanks.
Carlos |
|
Back to top |
|
|
floam Veteran
Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Sun Mar 09, 2003 3:38 am Post subject: |
|
|
Because everyone in their right mind, and their mother, and her dog, will uncomment out or set one of the CFLAGS lines. |
|
Back to top |
|
|
Accipiter Tux's lil' helper
Joined: 24 Feb 2003 Posts: 87 Location: Buffalo, NY
|
Posted: Sun Mar 09, 2003 3:54 am Post subject: Celine Dion Sez: That's The Way It Is (deal with it) |
|
|
1. Floam is right. He, his mother, and his mother's dog, all listen to very good advice.
2. Look around. The CXXFLAGS= line is not "hard coded." It basically means "whatever the user put in CFLAGS goes here, too." If you comment it out, guess what happens? It makes no difference. The exact same line is in /etc/make.globals too. Why? This is intentional, so that n00bs don't go commenting it out and frelling over their systems because the file notes said it's okay. |
|
Back to top |
|
|
carlos123 Guru
Joined: 12 Feb 2003 Posts: 536 Location: Alberta, Canada.
|
Posted: Sun Mar 09, 2003 5:01 am Post subject: |
|
|
I am beginning to appreciate the wisdom and careful planning that must have gone into making the Gentoo distribution.
I didn't at first (frankly I thought it was one of the biggest pain the rear installations I had ever come accross) but now....
Gentoo is definitely a keeper!
Thanks again. |
|
Back to top |
|
|
|