Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wofür ist die Option CBUILD?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Fri Jun 20, 2008 6:00 am    Post subject: Wofür ist die Option CBUILD? Reply with quote

Hallo!
Beim stöbern im Forum ist mir aufgefallen, daß viele eine Option CBUILD in ihrer make.conf stehen haben, ala CBUILD="x86_64-pc-linux-gnu"
Meine Frage: Kann man das relativ gefahrlos eintragen? Was macht das genau?
Man make.conf ist da ja nicht sehr informativ:
Quote:

CBUILD This variable is passed by the ebuild scripts to the configure as
--build=${CBUILD} only if it is defined. Do not set this yourself unless
you know what you are doing.

Das sagt mir nicht viel.
EDIT: Ich verstehe nicht ganz inwieweit das nicht schon von CFLAGS="x86_64-pc-linux-gnu" abgedeckt wird...
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Fri Jun 20, 2008 1:58 pm    Post subject: Re: Wofür ist die Option CBUILD? Reply with quote

Martux wrote:
Man make.conf ist da ja nicht sehr informativ:
Quote:

CBUILD This variable is passed by the ebuild scripts to the configure as
--build=${CBUILD} only if it is defined. Do not set this yourself unless
you know what you are doing.

Das sagt mir nicht viel.

"Do not set this yourself unless you know what you are doing" sollte schonmal Hinweis genug sein dass diese Variable nur in sehr bestimmten Fällen sinvoll ist. In diesem Fall nämlich wenn man eine "Cross-Cross-Toolchain" bauen will (eine Toolchain, die auf Architektur A gebaut wird, auf Architektur B läuft und Programme für Architektur C erstellt), was extrem selten der Fall sein dürfte.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Fri Jun 20, 2008 3:09 pm    Post subject: Reply with quote

Ok, danke für die Antwort!
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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