sarah31 Posted June 18, 2003 Report Share Posted June 18, 2003 uh search the gentoo forum for the link to all the fun and silly optimizations you can do. personally i would drop the -O3 in place of the far more generic -O2. why? because some apps simply will not be able to use it or it will introduce instabilities into your binaries. i realize alot of people like doing ridiculous optimizations like you quoted but most are pointless: -march=xxxxxx -O2 -pipe is pretty well al you need. many of those other CFLAGS will pretty well will show up anyway if they can be done. Quote Link to comment Share on other sites More sharing options...
tyme Posted June 18, 2003 Report Share Posted June 18, 2003 I agree with sarah31, in Gentoo i just use: -march=athlon-xp -02 -pipe i haven't noticed the slightest difference when compared to the Mandrake multimedia kerne I built with an insane amount of optimizations...(boot time excluded, as that has to do with services and not so much kernel/program optimizations) Quote Link to comment Share on other sites More sharing options...
jlc Posted June 18, 2003 Report Share Posted June 18, 2003 In the past I used gentoo-sources, except for a laptop that only like vanilla, anyway. does anyone use the gaming-sources? Good/bad? Quote Link to comment Share on other sites More sharing options...
jlc Posted June 19, 2003 Report Share Posted June 19, 2003 Well, I moved back to Gentoo. I had it up & running in Gnome in under 12 hours starting from Stage 1. I forgot to put MTTR in the kernel so I wasn't able to get Nvidia going this morning so I left the kernel compiling when I left for work. I also left with emergeing Mozilla, Gftp & Xscreensaver to finish up when I get home from lunch. I just left the CFlags as: CFLAGS="-march=athlon-xp -fomit-frame-pointer -funroll-loops That's what I used in the past and didn't have a problem. I haven't had time to look yet, but is there some info on etc-update in there doc's? That's a place I feel killed my systems in the past because of poor Admin Decisions. Quote Link to comment Share on other sites More sharing options...
tyme Posted June 19, 2003 Report Share Posted June 19, 2003 Mozilla will take forever to compile. I think etc-update is kinda self explanatory. it lists the config files in /etc that need updated, and let's you either replace all of them or replace some or...i think there are some other options. you don't have to use it, as there are other ways to find out what config files need updating, and you can do it manually. but, to truly answer your question, i don't know of any etc-update documentation. you could always try the good ol' "man etc-update" Quote Link to comment Share on other sites More sharing options...
jlc Posted June 19, 2003 Report Share Posted June 19, 2003 I know that etc-update messed up about 3 or 4 machines in the past and that's when I got tired of it and left the scene. It was like a hit in run. I had it happen on 2 machines at the same exact time. Next time I will go throught 20-40 questions and read very carefully what they are going to do. Quote Link to comment Share on other sites More sharing options...
tyme Posted June 19, 2003 Report Share Posted June 19, 2003 Let me try to explain what etc-update does (or atleast how I understand it) when you update packages which already have a config file in /etc emerge/portage/Gentoo/pick one won't overwite your old config files. this is a good thing :-) it takes the new config files and writes them as /etc/whatever.cfgxxxxx (x's stand for some numbers, usually 00000 but if a 00000 already exists the new one is 00001-or something like that). etc-update is a tool for taking these files and copying them over to replace the old config files. if you don't check those config files and make sure they're setup with the correct options as the previous files, and also don't contain any new options which you don't want or your system doesn't support, things can and will break :-) in general, after any updates, it's good to take a look at the new config files that have been downloaded, correct them as necessary (while they are still /etc/whatever.cfgxxxxx) and then use etc-update to update them. Quote Link to comment Share on other sites More sharing options...
jlc Posted June 19, 2003 Report Share Posted June 19, 2003 Thanks, that make's sense. I really didn't put to much thought into it. I just thought it was a new config file and you wanted to replace the old with it. I didn't realize that you should go in and change settings. So your saying when you run etc-update and it give's you a list, open up to more xterms and vi the old and new and see what changed? That makes sense, unless I'm wrong :P Thanks for the clear up. Quote Link to comment Share on other sites More sharing options...
tyme Posted June 19, 2003 Report Share Posted June 19, 2003 that's probably the safest way to go about it. it may not always be necessary, but better safe than sorry, no? i mean, i've used etc-update to update config files with no problems, but I assume some system-specific files may be a bit testy. Quote Link to comment Share on other sites More sharing options...
jlc Posted June 19, 2003 Report Share Posted June 19, 2003 better safe than sorry, no? YES Quote Link to comment Share on other sites More sharing options...
phunni Posted July 4, 2003 Author Report Share Posted July 4, 2003 be very careful using etc-update, I just broke my system because I was using etc-update while too jet lagged to think properly Quote Link to comment Share on other sites More sharing options...
jlc Posted July 4, 2003 Report Share Posted July 4, 2003 I broke about 3 systems in one week not paying attention. That was about 6-8 months ago. So I would definatly recommend watching closely what you choose. Quote Link to comment Share on other sites More sharing options...
tyme Posted July 4, 2003 Report Share Posted July 4, 2003 I usually look at the list of files being replaced, write down the ones i know i've modified, and then go back and change them (i.e. fstab, lilo.conf, rc.conf, etc.) Quote Link to comment Share on other sites More sharing options...
phunni Posted July 5, 2003 Author Report Share Posted July 5, 2003 OK - I have re-installed gentoo now and am back to a basic system at the end of the install instructions. - no X yet. Everything seems to be booting ok, except that I get a couple of weird errors that I don't understand: Seting system clock to hardware clock[uTC]modprobe: can't locate module /dev/rtc modprobe: can't locate module /dev/misc/rtc modprobe: can't locate module /dev/rtc modprobe: can't locate module /dev/misc/rtc Cleaning /var/lock, var/run ...xargs: environment is too large for exec Anyone know what this means and if I need to worry about this? Quote Link to comment Share on other sites More sharing options...
phunni Posted July 5, 2003 Author Report Share Posted July 5, 2003 Progress halted by dodgy files on the server anyway (can't emerge cups) Hopefully if I wait a bit this will be sorted out :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.