Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clarification on notes in make.conf..??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
carlos123
Guru
Guru


Joined: 12 Feb 2003
Posts: 536
Location: Alberta, Canada.

PostPosted: Sun Mar 09, 2003 3:31 am    Post subject: Clarification on notes in make.conf..?? Reply with quote

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
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Sun Mar 09, 2003 3:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Accipiter
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2003
Posts: 87
Location: Buffalo, NY

PostPosted: Sun Mar 09, 2003 3:54 am    Post subject: Celine Dion Sez: That's The Way It Is (deal with it) Reply with quote

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
View user's profile Send private message
carlos123
Guru
Guru


Joined: 12 Feb 2003
Posts: 536
Location: Alberta, Canada.

PostPosted: Sun Mar 09, 2003 5:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum