Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
banalne pytanie
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Sun Mar 21, 2004 6:34 pm    Post subject: banalne pytanie Reply with quote

z ktorego z plikow sa wykozystywane CFLAGS, z make.conf czy make.global? wg 'emerge info' to z make.conf, ale w make.global tez jest sekcja CFLAGS? wiec jak to jest? po co flagi sa w dwoch plikach?
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sun Mar 21, 2004 6:40 pm    Post subject: Reply with quote

O ile się nie myle, to make.globals zawiera domyślne flagi, jeżeli są one poustawiane również w make.conf, to nadpisują one te z make.globals.
(poprawcie mnie, jeśli się mylę)
Z reszta w trakcie kompilasji możesz się przyjrzeć outputowi i zaobserwować które flagi są używane.
Back to top
View user's profile Send private message
cin0l
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 182

PostPosted: Sun Mar 21, 2004 6:44 pm    Post subject: Reply with quote

no wlasnie wykozystuje te z make.conf (emerge info.. tez to potwierdza), ale w takim razie po co jest to samo w make.globals? dla zmylki? :P
Back to top
View user's profile Send private message
szaman
n00b
n00b


Joined: 20 Jan 2004
Posts: 71
Location: Poland, Siemianowice

PostPosted: Sun Mar 21, 2004 6:49 pm    Post subject: Reply with quote

to są ustawienia domyślne, brane pod uwagę, jeśli w make.conf user nic by nie wpisał.
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sun Mar 21, 2004 6:50 pm    Post subject: Reply with quote

wydaje mi się (jak napisałem powyżej) , ze są to domyślne flagi .

I są używane , kiedy nie wpisów w make.conf. Np jezeli nie podasz GENTOO_MIRRORS w make.conf, to będziesz używał tego mirrora, który jest wpisany w make.globals.

a teraz fragment make.globals na potwierdzenie mojej teorii o nadpisywaniu flag make.globals przez te zawarte w make.conf:
Code:

# ***************************************************
# **** CHANGES TO make.conf *OVERRIDE* THIS FILE ****
# ***************************************************
Back to top
View user's profile Send private message
Xax
Guru
Guru


Joined: 24 Jul 2003
Posts: 417
Location: Poland, Gliwice, Trynek

PostPosted: Mon Mar 22, 2004 9:53 am    Post subject: Reply with quote

gdyby make.globals byl zbyteczny nie trabili by wszedzie zeby tego pliku nie ruszac. sa to ustawienia domyslne i jak sadze niezbedne, ktore mozna modyfikowac za pomoca make.conf.

man make.conf - bardzo dobra lekturka :wink: , zanim cos ustawisz poczytaj zebys sie potem nie dziwil ze nie dziala 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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