Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Er make.conf virkelig så simpel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
thomas_nj
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 87

PostPosted: Fri Feb 17, 2006 10:19 pm    Post subject: Er make.conf virkelig så simpel Reply with quote

Hejsa

Jeg er en smule forvirret mht make.conf. Når man læser om gentoo omhandler det jo altid om, hvordan softwaren bliver bygget så det bliver tilpasser efter ens behov.
Så for at udnytte dette til fulde vil jeg gerne have lavet en god make.conf. Søger jeg i forummet og kigger på, hvad andre har synes jeg at de virker ekstremt simple. Ud fra, hvad jeg sådan lige har fundet er min endt sådan her:
Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
USE="-qt -kde -accessibility -gtk -gnome -xinerama -pda -bonobo X offensive win32codecs spell dvd dvdr alsa samba xine sse mmx mmxext 3dnow 3dnowext truetype bigger-fonts imlib2"
ALSA_CARDS="intel8x0"
FEATURES="sandbox collision-protect"

#PORTDIR_OVERLAY="/usr/local/portage"

Selv synes jeg at der da næsten må være flere ting man kan gøre. Det skal ikke være sat op så, der ofte bliver problemer, bare almindelig optimalt men samtidig stabilt.

Er der nogen, der har nogle gode råd, der måske lige kan få de sidste procent ud af maskinen?
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Fri Feb 17, 2006 10:57 pm    Post subject: Reply with quote

Ta dig en titt i /etc/make.conf.example, den skall innehålla det mesta som hör hemma i /make.conf med kommentarer.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 520
Location: The Maldives

PostPosted: Sat Feb 18, 2006 12:22 am    Post subject: Reply with quote

Bortsett från /etc/make.conf.example:
Så vida jag har förstått så kan du med hjälp av USE= sätta attribut för hur dina program skall kompilleras med avseende på egenskaper. Sedan har du CFLAGS som är hur du vill att processorn skall behandla kompillerat program

"Svårare" än så är det inte....Sedan efter denna fil kan man göra det hur komplicerat man vill. (se /etc/portage/* bland annat). I emerge ögonblicket kan du även ange USE-flag eller ACCEPT_KEYWORDS="~x86" (exv) för att få med mer bleedin' edge program. Ad nauseum.
_________________
Life is a fog where some thinks to know where to go
To make an error is human, letting it be is the error.
Deus Vult
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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