View previous topic :: View next topic |
Author |
Message |
bluecamel n00b
Joined: 04 Jul 2005 Posts: 1
|
Posted: Mon Jul 04, 2005 11:32 am Post subject: Amd 64 gentoo make.conf |
|
|
I want to amd 64 make.conf pls .I AM TAKING LASTING MISTAKE !! |
|
Back to top |
|
|
c4 Guru
Joined: 21 Feb 2004 Posts: 312 Location: Sweden
|
Posted: Mon Jul 04, 2005 11:36 am Post subject: |
|
|
Look at your /etc/make.conf.example for some help and tips on seting up your make.conf file properly. _________________ AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop |
|
Back to top |
|
|
stroh81 n00b
Joined: 26 Apr 2004 Posts: 26
|
Posted: Tue Jul 05, 2005 12:22 pm Post subject: |
|
|
Code: | CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="X multilib gnome dts alsa dvd dvdread gtk2 opengl ssl usb -kde -qt"
CCACHE_SIZE="2G"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ |
maybe this be in handy, this is my make.conf. but there is a lot of info on the www.gentoo.org site/forum;)
amd64 3000+
cheers! |
|
Back to top |
|
|
c4 Guru
Joined: 21 Feb 2004 Posts: 312 Location: Sweden
|
Posted: Tue Jul 05, 2005 12:40 pm Post subject: |
|
|
Hey stroh81, not that it's an absolute necessity.. but why don't you use something like Code: | PORTAGE_NICENESS="19"
AUTOCLEAN="yes" | if your building on a desktop system ? _________________ AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop |
|
Back to top |
|
|
stroh81 n00b
Joined: 26 Apr 2004 Posts: 26
|
Posted: Tue Jul 05, 2005 5:11 pm Post subject: |
|
|
@c4: thanks for the tips;) i was removing the portage_temp dir manual, and most of the time i update/compile the new packages when i wasn't using my pc;)
so thanks again i have written it in my make.conf:D
cheers! |
|
Back to top |
|
|
codein Tux's lil' helper
Joined: 11 Apr 2005 Posts: 105 Location: Germany
|
Posted: Tue Jul 05, 2005 11:39 pm Post subject: |
|
|
Hi! What do you mean with that?
I am building on a server...
Can i configure the system the portage because of the NICENESS of the portage?
auto -> emerge --sync ??
codein _________________ Gentoo GNU/Linux Stage1 on AMD Athlon64 3000+, MSI K8T800 NEO2 (S939), Kingston 1024MB RAM,
Maxtor 200GB SATAII, Geforce 6200 V+ (DDR2), LC Power 420W, Chieftec Dragon DX-01BL-D-U
(Avatar - pray for Gentoo GNU/Linux) |
|
Back to top |
|
|
c4 Guru
Joined: 21 Feb 2004 Posts: 312 Location: Sweden
|
Posted: Wed Jul 06, 2005 5:46 am Post subject: |
|
|
Code: | # PORTAGE_NICENESS provides a default increment to emerge's niceness level.
# Note: This is an increment. Running emerge in a niced environment will[quote]
# reduce it further. Default is unset.
#PORTAGE_NICENESS=3 |
The niceness level decides at what level gcc will run when emerging things, and setting a very high nicenesslevel, like PORTAGE_NICENESS=19 means something like "emerge this with the lowest priority possibe". So if you are listening to music, browsing a bit and writing in a few consols, all these tasks will be scheduled first, and whatever resources are left on the system are used for the emerge.
By not setting a NICENESS level may give you a 'unresponsive' and/or 'laggy' system if you are emerging things when say viewing a movie in mplayer at the same time. From what I understand, as the emerge is run as root, without the nicecess level adjusted, the emerge is run with a higher priority and all system resources are used for the emerge, thus clipping xmms or lagging my movie etc.
On my server I have set the PORTAGE_NICENESS=19, so apache and my ftp will always be handeld first so the users will not see too much lagg etc. What I meant earlier was setting the NICENESS level for a desktop system may be more inportant so the user can still do their work without noticing any emerging in the background.
codein wrote: | auto -> emerge --sync ?? | Do you mean as to have portage synced automatically like once every day ? You could use cron and set an entry in /etc/crontab to something like Code: | # Update private rsync
0 18 * * * root emerge sync >/dev/null
| which would run an emerge sync every day at 6 in the evening. _________________ AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop |
|
Back to top |
|
|
Carlos Alberto n00b
Joined: 09 Jul 2005 Posts: 1
|
Posted: Sat Jul 09, 2005 6:25 pm Post subject: |
|
|
Code: | CFLAGS="-march=k8 -O3 -pipe -ffast-math -floop-optimize -funroll-loops"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
CCACHE_SIZE="512M"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
USE="gtk gnome hal howl qt kde dvd alsa cdr dvdr sdl 3dnow acpi a52 aac flac mpeg ogg vorbis oggvorbis win32codecs xine mmx sse sse2 samba bash-completion" |
|
|
Back to top |
|
|
|